We have several variations of an email and wanted to come up with a dynamic solution to change the email content based on each recipient data.
One simple variation is Country, Language, Salutation..etc
Instead of using a big "If..else" section we are thinkking of using a table to store the names of all the different personalization blocks.
Email1 US, English, Mr, PB_VIEW1
Email1 US, Spanish, Mr, PB_VIEW2
Email1 CA, English, Mr, PB_VIEW3
But when building the email I'm having trouble dynamically changing the PB name.
"<%@ include view=" + w.$PB_NAME + "%" +">"
Are there any other alternate options? Please help.