Hello Folks,
I have a campaign workflow with an delivery in which content is coming from AEM with a placeholder <%= targetData.url %>. This will get value from the additional data that i have added in Query whenever workflow runs. But i have got the requirement to trigger the delivery directly from Delivery template instead of going with a workflow. When i am doing this, i am facing an error targetData not found, since there is no previous activity to get the data just like how it happens in case of workflow.
Is there any way to replace such field with let's say i can directly fetch this field in template from the blip icon Recipients -> URL. After selecting this i am getting a personalized field <%= recipient.url %> courtesy due to target mapping. If so, How can i replace <%= targetData.url %> with <%= recipient.url %> during run-time, can i use a typology rule for it? Please provide pointers.
PS: I understood that we can change the placeholder directly in AEM template to <%= recipient.url %> but we are not supposed to do that, instead we are trying possibilities from Campaign itself
Regards,
Sri Bhargav