• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Linking field value to Custom tag section ins web analytics - Adobe campaign classic

New Here ,
Jul 15, 2020 Jul 15, 2020

Copy link to clipboard

Copied

Hey I have scenario where I want to populate the web analytics section custom tag with Campaign name(Folder name).

 

I know it can be entered manually while creating new deliveries, but I want this field to be populated dynamically when we create new delivery. I have trying to achieve this by adding some code in input forms. so far it did not work. Below is the code am using. Not sure where its going wrong and am sure its missing something.Any thoughts on this approach?

 

<postSave>

<if expr="@label != ''">

<set expr="Coalesce(@@label, 'defaultvalue can be anything that you want as default')" xpath="webAnalytics/@tag1"/>

<set value="nms:delivery" xpath="/ignored/writer/delivery/@xtkschema"/>

<set value="update" xpath="/ignored/writer/delivery/@_operation"/>

<set expr="[@id]" xpath="/ignored/writer/delivery/@id"/>

<soapCall name="Write" service="xtk:persist">

<param exprIn="[/ignored/writer/delivery]" type="DOMDocument"/>

</soapCall>

</if>

</postSave>

Web analytics.JPGCustom.JPG

 
 

 

 

Thanks,

 

Pradeep

Views

184

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 15, 2020 Jul 15, 2020

Copy link to clipboard

Copied

LATEST

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines