Expand my Community achievements bar.

Custom fields not copied when creating a delivery from a template

Avatar

Level 1

 

Hi everyone,

In Adobe Campaign Classic, I’ve extended the nms:delivery schema by creating a custom schema called gpa:delivery. I added three custom fields:

These fields are of type string and are linked to an external table (gpa:SCO_RCI_UNIVERS) through three link elements (universPourTrackingLink1, 2 and 3), which join on @CD_UNIVERS and @CD_ENTITE.

Mohamed_AliAL_0-1750261515642.png

 

I've also updated the delivery input form to display these fields through the links, with filtering logic on date validity.

Mohamed_AliAL_1-1750261587786.png

 

Everything works fine in the following scenarios:

  • When I create a standard delivery

  • When I create a delivery template

However, the issue: when I create a new delivery based on a template, the values of the universPourTrackingX fields are not carried over, even though they are set in the template.

2 Replies

Avatar

Community Advisor

Hi @Mohamed_AliAL ,

Add your attributes inside xpathsToLoad=".. " , You can find xpathsToLoad in <form> root element

Avatar

Level 1

hi @ParthaSarathy , 

Thanks for your response. I’ve already done it, but it still doesn’t work.

Mohamed_AliAL_0-1750263789747.png