Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
Nível 1
Nível 2
Faça login na Comunidade
Faça logon para exibir todas as medalhas
Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
Hi all,
I'm looking to create a dynamic content rule targeting those who have a first name that is more than characters long.
I have done this in JavaScript in a segmentation node to give them a separate delivery, but I want to do it within the same delivery.
JavaScript used in segmentation node: Length(@firstName)>2
Does anyone know how to apply this rule within delivery dynamic content?
Thanks,
George
Visualizações
respostas
Total de curtidas
Hello @George-CT5,
There are two ways to do this depending on your end goal :
Hope this is clear enough.
Visualizações
respostas
Total de curtidas
There's also a possibility to use advanced mode in dynamic condition where you can enter the length condition (as not available in basic mode) like context.profile.firstName.length > 2. If you have simple content display condition based on length you might also want to try out with "Visibility Condition". Refer this for detailed steps.
Visualizações
respostas
Total de curtidas
Hi Shelly, the rule seems to have worked, but it also displays a lot of code above the fragment that has the dynamic rule. Image attached. Do you know how this can be deleted?
Visualizações
respostas
Total de curtidas
Visualizações
respostas
Total de curtidas
Visualizações
respostas
Total de curtidas
Visualizações
respostas
Total de curtidas
Visualizações
respostas
Total de curtidas
Visualizações
respostas
Total de curtidas
Visualizações
respostas
Total de curtidas
Hi @George-CT5,
Were you able to resolve this query or do you still need more help here? Do let us know.
Thanks!
Visualizações
respostas
Total de curtidas
Visualizações
respostas
Total de curtidas
Visualizações
respostas
Total de curtidas