Can ExactTarget and AMPscript use a form to upload an image?

1.1k views Asked by At

I would like to have a functionality in my landing page, which user can attach a file within a form. eg: and insert an image in the data extension. Not sure is this doable or not?

Many thanks in advance

1

There are 1 answers

0
Adam Spriggs On

You probably can't store the image in a Data Extension since there's no datatype to accommodate it, but you could possibly use the AMPScript API Functions or the SOAP API to create Portfolio item and then store the path in the DE.

Keep in mind that AMPScript and (SSJS) are server-side only, so you'll need some other method to do the uploading.

Also, you'll get a lot more eyes on your SFMC questions over at salesforce.stackexchange.com, specifically with the marketing-cloud and AMPScript tags.