Check out this Campaign blog post by our Campaign Community Advisor @Marcel_Szimonisz about: Automate publishing file resources with workflow
Abstract:
Sometimes, you will reach a point where you want to upload file resources from a script. Although there are hints on the Experience League, even with those, this problem has caused me some troubles.
However, challenges and troubles are what I seek. I have decided to map this functionality, which can become handy once in a blue moon. For example you want to attach dynamic attachments to recipient delivery or add before made qr codes or vouchers to the email content.
For those seeking a quick answer without delving into this blog, the solution lies within the nms:assetIntegration.js JavaScript library. Check out the method call uploadContentToCampaign for the answer you’re looking for.
Please feel free to reach out in case you have any questions through the below comment section.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.