Typology to check sender name

Avatar

Avatar

michellelowsl

Avatar

michellelowsl

michellelowsl

23-11-2020

Hi all,

How do I check if the email is using a default sender name (content block) in the typology?

I have tried checking if strSender == 'ABC' and change the Phase to After the end of the analysis but it doesnt seem to work.

 

Any help is appreciated 

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

shelly-goel

MVP

Avatar

shelly-goel

MVP

shelly-goel
MVP

16-12-2020

@michellelowsl  The content/text inside the content block is not available for validation during delivery preparation (typology rule), however if something is added before and after the content block, that could be validated. "emailContent.senderName.source" would be something like below, so you can check if additional "ABC" appears at the start or generate a warning if sender name has "DefaultSenderName" so to manually validate the branding information provided.

emailContent.senderName.source=ABC<span class="nl-dce-fragment nl-dce-done" data-nl-name="DefaultSenderName" contenteditable="false">Default sender name</span>

You may handle the validation in the content block itself and provide an appropriate default value.

 

Answers (2)

Answers (2)

Avatar

Avatar

Sukrity_Wadhwa

Employee

Avatar

Sukrity_Wadhwa

Employee

Sukrity_Wadhwa
Employee

01-12-2020

Hi @michellelowsl,

Were you able to resolve this query or do you need more help? Do let us know.

Thanks!

Avatar

Avatar

shelly-goel

MVP

Avatar

shelly-goel

MVP

shelly-goel
MVP

23-11-2020

@michellelowsl  I would suggest to do that filtering in the 'Target' section of the delivery itself using General > Profile (attributes). Same can be achieved in the Query activity if using a workflow.

 

shelly-goel_0-1606185586565.png