SMFC TIP | NULL value comparison in IF statement

Marketing Automation, Salesforce Marketing Cloud, SFMC Tips & Tricks
less than a minute read#AMPScript #cloud page #email template #programming

If you have field in DE that its value is not always populated for a particular row (customer) and you test field value against any value cloud page will throw an 500 – internal server error.

To fix this you will need to add another AND-condition to test field value for NULL

%%[
var @field;// null value


if @field == 4 then
//500 
endif

]%%
Adobe campaign tips and tricks
ACC Tips & Tricks, Adobe Campaign, Marketing Automation

ACC TIP | Escalate user rights

1 minute read#JavaScript #programming #webapp

Normally web apps run under the web app user (which is anonymous and has very little to zero rights by default) and for certain operations you would need to require to grant additional access, or even grant full admin. To grant full admin for web app user is not solution to go with. Instead I […]

Continue reading