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?
<if expr="@label != ''">
<set expr="Coalesce(@@label, 'defaultvalue can be anything that you want as default')" xpath="webAnalytics/@tag1"/>
If you want to have a the default value as Label add use the code below, instead of Post Save my suggestion would be to use enter. Because if the value is overridden manually then the value won't change because post-save will overwrite the manual entry.