Nível 1
Nível 2
Faça login na Comunidade
Faça logon para exibir todas as medalhas
Hello,
We would like to add typology rules to ensure a customer from a specific country does not receive a delivery created for another country. With that in mind, I'd like to compare recipient's isoA3 with delivery's isoA3 in a typology rule.
For what I understand, "control" type typologies can not check recipient fields, and "filter" type typologies can not check delivery fields.
Is there a way to do what I need ?
Thank you.
Nicolas
Solucionado! Ir para a Solução.
Os tópicos ajudam a categorizar o conteúdo da comunidade e aumentam sua capacidade de descobrir conteúdo relevante.
Visualizações
respostas
Total de curtidas
Hi all,
Thanks to Adobe Campaign support, I was able to find a solution to my issue.
There is a hidden field currentDeliveryId in nms:recipient that is automatically filled by Adobe when a delivery is being analyzed. All I had to do is to expand nms:recipient to add a new link to nms:delivery based on this field.
<element integrity="neutral" label="Delivery being analyzed" name="currentDelivery" revLink="_NONE_" target="nms:delivery" type="link" visibleIf="NodeValue('/ignored/@currentDeliveryId')!=''">
<join xpath-dst="@id" xpath-src="$long(@currentDeliveryId)"/>
</element>
After that, I am able to create a filter typology rule and navigate to the current delivery.
Note that the link is invisible and the path to any delivery field needs to be handwrited in the filter.
Have a nice day everyone,
Nicolas
Hello @NicolasApocc ,
you will need to improvise. You can:
Marcel
Visualizações
respostas
Total de curtidas
Hi Marcel,
We thought about your first idea (one typology per country with the country code hard coded), but we are looking for a least costing solution, in terms of development and maintainability. We will do this only if we don't find anything better.
Your two others solutions are unfortunately unfitting, since it needs our users to be careful when creating their contents and campaigns ; and let's say users are not always careful. That is why we are looking for a technical and global solution, independant from users.
Thank you however,
Nicolas
Visualizações
respostas
Total de curtidas
Hi @NicolasApocc ,
May I know do you have any custom link for delivery and country schema as similar to the OOTB link between recipient and Country schema? Means, how you will be getting isoA3 for a delivery?
Visualizações
respostas
Total de curtidas
Hello ParthaSarathy,
Yes, we expanded nms:delivery schema to add various specific fields, including isoA3 code and a link to country similar to recipient's.
But I was able to find a solution to my issue, I'll write it in a separate comment.
Nicolas
Hi all,
Thanks to Adobe Campaign support, I was able to find a solution to my issue.
There is a hidden field currentDeliveryId in nms:recipient that is automatically filled by Adobe when a delivery is being analyzed. All I had to do is to expand nms:recipient to add a new link to nms:delivery based on this field.
<element integrity="neutral" label="Delivery being analyzed" name="currentDelivery" revLink="_NONE_" target="nms:delivery" type="link" visibleIf="NodeValue('/ignored/@currentDeliveryId')!=''">
<join xpath-dst="@id" xpath-src="$long(@currentDeliveryId)"/>
</element>
After that, I am able to create a filter typology rule and navigate to the current delivery.
Note that the link is invisible and the path to any delivery field needs to be handwrited in the filter.
Have a nice day everyone,
Nicolas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas