Expand my Community achievements bar.

Join us for the Adobe Campaign Community Q&A Coffee Break on 30th September at 8 am PT with Campaign experts Arthur Lacroix and Sandra Hausmann.
SOLVED

Add a new Field to Delivery Template creator (Input field)

Avatar

Level 7

Hello, how could I add new fields to the delivery template creator?

CampaignerForLife_0-1688572582605.png


I want to add some attributes I created in the Delivery schema

CampaignerForLife_1-1688572637124.png

 

These are the attributes added at the Extended Delivery schema, so for example, under "Nature" will be "Campaign", with a field text to write whatever I want. Any idea?

 

Thank you in advance!

@ParthaSarathy @_Manoj_Kumar_ 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @CampaignerForLife ,

Go to  /Administration/Configuration/Input forms/ and open Name: nms:delivery 

Search for the keyword @deliveryCode

you will find the below,

 

        <input xpath="@deliveryCode"/>
      </container>
      <input colspan="2" xpath="@nature"/>

 

After this <input colspan="2" xpath="@nature"/>,

add the below line

 

<input colspan="2" xpath="@yourAttribute"/>

 

and in starting of the input form, in the form tag <form .... you can able to see xpathsToLoad. 

Here add your attribute. example, <form ............. xpathsToLoad='@yourAttribute,........'

 

Now when you create a new delivery, you can see the new text field under delivery > property > general tab

ParthaSarathy_0-1688737983011.png

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @CampaignerForLife ,

Go to  /Administration/Configuration/Input forms/ and open Name: nms:delivery 

Search for the keyword @deliveryCode

you will find the below,

 

        <input xpath="@deliveryCode"/>
      </container>
      <input colspan="2" xpath="@nature"/>

 

After this <input colspan="2" xpath="@nature"/>,

add the below line

 

<input colspan="2" xpath="@yourAttribute"/>

 

and in starting of the input form, in the form tag <form .... you can able to see xpathsToLoad. 

Here add your attribute. example, <form ............. xpathsToLoad='@yourAttribute,........'

 

Now when you create a new delivery, you can see the new text field under delivery > property > general tab

ParthaSarathy_0-1688737983011.png