<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Update Delivery template Properties in Adobe Campaign Classic Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/update-delivery-template-properties/m-p/462912#M15781</link>
    <description>&lt;P&gt;try taking the comments completely out&lt;/P&gt;
&lt;P&gt;remove these&lt;/P&gt;
&lt;PRE&gt; // Routing primary key&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jul 2022 12:27:26 GMT</pubDate>
    <dc:creator>David_Loyd</dc:creator>
    <dc:date>2022-07-27T12:27:26Z</dc:date>
    <item>
      <title>Update Delivery template Properties</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/update-delivery-template-properties/m-p/462778#M15772</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need some help, if someone has done it please share thoughts or send me in right direction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have more than 100 Email Delivery templates for different brands and I have to make couple of change in the properties of these templates. Changes includes updating 'Execution Folder', 'Routing', 'Web Analytics Account' and 'Typology'. These properties already have value but I need them to update with new ones.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have highlighted the updates I need to made in below example image:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="parmeshwarr3905_0-1658851889486.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/43537i00799EA2227CB993/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="parmeshwarr3905_0-1658851889486.png" alt="parmeshwarr3905_0-1658851889486.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="parmeshwarr3905_2-1658852140010.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/43539i2F45349A0C12FEBE/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="parmeshwarr3905_2-1658852140010.png" alt="parmeshwarr3905_2-1658852140010.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="parmeshwarr3905_1-1658851940922.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/43538i175BF16AB42E0AC2/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="parmeshwarr3905_1-1658851940922.png" alt="parmeshwarr3905_1-1658851940922.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can we achieve this through workflow or any other way?&lt;/P&gt;
&lt;P&gt;Appreciate your help, Thanks!!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 17:02:05 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/update-delivery-template-properties/m-p/462778#M15772</guid>
      <dc:creator>parmeshwarr3905</dc:creator>
      <dc:date>2022-07-26T17:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Update Delivery template Properties</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/update-delivery-template-properties/m-p/462821#M15775</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;LI-USER uid="15033507"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will have to write a javascript code to pull the deliveries and then update the ids. First get the primary keys of your routing, web analytics account, and execution folder and use this script to modify your details and use case.&lt;/P&gt;
&lt;PRE&gt;var q = xtk.queryDef.create(
  &amp;lt;queryDef schema="nms:delivery" operation="select" &amp;gt;
    &amp;lt;select&amp;gt;
      &amp;lt;node expr="@id" alias="@id"/&amp;gt;         
    &amp;lt;/select&amp;gt;      
   &amp;lt;/queryDef&amp;gt;
);
var deliveries = q.ExecuteQuery();

for each(var d in deliveries){
   var delivery=nms.delivery.load(d.@id);
	delivery.deliveryProvider-id=123; // Routing primary key
	delivery.typology-id=123; // Typolofy primary key
	delivery.folderProcess-id=222; // execution primary key
	delivery.webAnalyticsAccount-id=123; //web analytics account primary key
	delivery.save();
}&lt;/PRE&gt;
&lt;P&gt;Note: This script is an example only. You will have to change a few things according to your requirement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 01:12:08 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/update-delivery-template-properties/m-p/462821#M15775</guid>
      <dc:creator>Manoj_Kumar_</dc:creator>
      <dc:date>2022-07-27T01:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Update Delivery template Properties</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/update-delivery-template-properties/m-p/462903#M15778</link>
      <description>&lt;P&gt;The javascript option&amp;nbsp;&lt;LI-USER uid="16614846"&gt;&lt;/LI-USER&gt;&amp;nbsp;will work.&lt;/P&gt;
&lt;P&gt;If you wanted a non scripting way to do you can navigate to your templates folder then filter for all the correct templates. Once you have the correct templates select them all.&lt;/P&gt;
&lt;P&gt;Then right click -&amp;gt; Actions -&amp;gt; Mass Update of Selected Lines&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then the dialogue will allow you to enter what field and values should be populated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will update all the templates you've selected with the fields and values you specified.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dloyd_0-1658923060072.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/43566i8C55ED8641F4AE77/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="dloyd_0-1658923060072.png" alt="dloyd_0-1658923060072.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 11:58:34 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/update-delivery-template-properties/m-p/462903#M15778</guid>
      <dc:creator>David_Loyd</dc:creator>
      <dc:date>2022-07-27T11:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Update Delivery template Properties</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/update-delivery-template-properties/m-p/462904#M15779</link>
      <description>&lt;P&gt;&lt;LI-USER uid="16614846"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have modified query by adding where condition to test it but it's throwing an error. Please let me know how can I update the script to resolve this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="parmeshwarr3905_0-1658923099143.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/43567i529D45131A92B433/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="parmeshwarr3905_0-1658923099143.png" alt="parmeshwarr3905_0-1658923099143.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 11:59:01 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/update-delivery-template-properties/m-p/462904#M15779</guid>
      <dc:creator>parmeshwarr3905</dc:creator>
      <dc:date>2022-07-27T11:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Update Delivery template Properties</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/update-delivery-template-properties/m-p/462912#M15781</link>
      <description>&lt;P&gt;try taking the comments completely out&lt;/P&gt;
&lt;P&gt;remove these&lt;/P&gt;
&lt;PRE&gt; // Routing primary key&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 12:27:26 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/update-delivery-template-properties/m-p/462912#M15781</guid>
      <dc:creator>David_Loyd</dc:creator>
      <dc:date>2022-07-27T12:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Update Delivery template Properties</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/update-delivery-template-properties/m-p/462921#M15783</link>
      <description>&lt;P&gt;&lt;LI-USER uid="17493280"&gt;&lt;/LI-USER&gt;&amp;nbsp;Yes I tried that. But no luck. I though it needed '==' to assign new id in that case it says 'id' not defined.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 13:37:17 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/update-delivery-template-properties/m-p/462921#M15783</guid>
      <dc:creator>parmeshwarr3905</dc:creator>
      <dc:date>2022-07-27T13:37:17Z</dc:date>
    </item>
  </channel>
</rss>

