I have 2 pieces of text content I would like to make 'Dynamic' in Salesforce Marketing cloud content builder.
1) CUSTID: I currently have a data extension column called 'CUSTID', and in the email I have basic AMPscript which is ID:%%CUSTID%%
, which obviously shows the %%CUSTID%%
directly from the data extension. But in cases where 'CUSTID' is NULL, how can I completely hide the 'ID:%%CUSTID%%' text in the email? At the moment it shows up with ID:______ (blank)
2) I would like to add a dynamic office address. That is, if the data extension has a column called 'City' which says the customer is located in City A, I would like to pull the local City A office address (from a second 'lookup' data extension) into the email. On the other hand, if the 'City' value is NULL in the data extension, just hide the entire line: just like the CUSTID above
I'm new AMPscript and so would love any assistance here! Thank you in advance!