I have to send an email to customers who have purchased items. I have to send email with item image links which customers have purchased.
I have created two schemas for this Order, OrderLineItem. I have followed the below steps in workflow.
I have queried recent Order records using Query activity.
Then I have used Enrichment activity to create collection(Size: 3) "itemNameImage" of Order line item and add it to temporary schema. The collection variable itemNameImage holds HTML content like <a href="@productLink"><img src="@productImage"/></a>
Then I will just add the collection variable "itemNameImage" to the email as dynamic variable.
The above approach works fine when each variable itemNameImage in collection holds value whose size is less than 255. When it exceeds size 255, campaign throws error as in screenshot below.
I'd suggest reviewing the following thread which goes through numerous solutions for this. It's for Campaign Classic but the premise is the same. Standard string fields will only allow a max of 255 characters and there isn't a way to change that. So the only option would be to change the field at the schema level to a data type that allows for more than 255 characters.
Yes, The length of itemNameImage is getting restricted by default to 255. But i want to store more than 255 characters. The problem is i am not able to change the itemNameImage field length in Enrichment activity. Please share your input if this collection field "itemNameImage" length can be changed.