Expand my Community achievements bar.

SOLVED

xml input forms

Avatar

Level 5

I would like to be able to display this information from a campaign in a field of the delivery input form with an expr set.
Is there a way to do this?
Thanks

alnavarg_0-1692606510480.png

@_Manoj_Kumar_ @ParthasharathiBh @ParthaSarathy @Parvesh_Parmar @DavidKangni 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @alnavarg 

 

Add a new field to the deliveries schema eg. campaignName

 

Then edit the nms:delivery input form with these changes.

  • Add operation/@label to the xpathsToLoad (This will be the field from campaign which you are trying to populate)
    Manoj_Kumar__0-1693284785014.png

     

  • Then add the campaignName attribute in your input form.
    Manoj_Kumar__1-1693284807137.png

     

  • Then preload the field with value from campaign name
    Manoj_Kumar__2-1693284839521.png

     


     Manoj
     Find me on LinkedIn

View solution in original post

4 Replies

Avatar

Community Advisor

Hi @alnavarg 

 

You can save this value using a workflow, or through adding "Additional Fields" in the target mapping. Once the value is saved, you can use the link to follow the steps for form creation.

If the value is readily available then you can directly create the form using the attached link.

 

Regards

Akshay

Avatar

Level 5

@AkshayAnand i cant use a workflow.

I want the value in like this <set expr=" " xpath=" ">

Avatar

Correct answer by
Community Advisor

Hello @alnavarg 

 

Add a new field to the deliveries schema eg. campaignName

 

Then edit the nms:delivery input form with these changes.

  • Add operation/@label to the xpathsToLoad (This will be the field from campaign which you are trying to populate)
    Manoj_Kumar__0-1693284785014.png

     

  • Then add the campaignName attribute in your input form.
    Manoj_Kumar__1-1693284807137.png

     

  • Then preload the field with value from campaign name
    Manoj_Kumar__2-1693284839521.png

     


     Manoj
     Find me on LinkedIn