Batch upload of targetData into Additional Data tab in Seeds

Avatar

Avatar

cmabruzzese0923

Avatar

cmabruzzese0923

cmabruzzese0923

04-11-2020

Hello, I have a seed folder that I use for proofing dynamic content. We have multiple versions of "targetData" so I have a record in this folder for each version. I have no problem creating this folder via a list that I uploaded (which helps when there are more than just a few versions), but the problem I'm having is NOT being able to populate the "Additional data" tab (ie the targeting data) in batch mode. The data in this tab is in XML format so I'm trying to find a way to possibly do this via javascript? Hoping someone else has run into this and possibly has a solution. Thank you! Cindy

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

09-11-2020

Hi,

 

The Additional data (targetData) field is XML, so can't be updated via Update activity and is harder to use in general.

Simple fix is modify the nms:seedMember schema to turn it into a real boy, i.e. <element name="targetData" xml="false"/> and continue as normal. May/may not blow up MTA.

More complicated fix is use js to set the mData col to wrapped xml from the file.

 

Thanks,

-Jon

 

 

 

Avatar

Avatar

Sukrity_Wadhwa

Employee

Avatar

Sukrity_Wadhwa

Employee

Sukrity_Wadhwa
Employee

17-11-2020

Hi @cmabruzzese0923,

Was the given solution helpful to resolve your query? Do let us know.

Thanks!