Avatar

Level 6

Hi @anurags71391525 

 

You can check the typology rule "viral" and use an indexOf for the condition such as:

if (delivery.content.html.source.indexOf(internalNameToSearch) != -1){

The other option is a bit tricky and a bit ugly: I would only recommend it if you're not confortable at all with JS:

1- create a typology rule with type "filter"

2- as filter use the condition "1 equal 1"

3- back on "general" use application conditions "Depending on the delivery" and as rule application conditions use XML memo contains 'xxxxxxx' where xxxxxxx is the internalName of the block you're searching