Expand my Community achievements bar.

SOLVED

Make typology unsubscription link control rule stop send

Avatar

Level 4

Hi,

 

At the moment the default control rule only checks if the unsubscription link exists and then gives a warning in the log but user can still send the delivery.

Is there a way to modify this and stop the send completely like the subject line control rule?

 

Thanks!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

You can duplicate the typology rule which comes with ACS.

Then replace logWarning by logError in the code

View solution in original post

7 Replies

Avatar

Correct answer by
Employee Advisor

You can duplicate the typology rule which comes with ACS.

Then replace logWarning by logError in the code

Avatar

Level 4

Thanks @ramon_bisswanger! I have found that out after checking the codes in Check subject but now my problem is that I can't seem to edit the codes or type in anything in the codes section. I have reached out to Adobe support but haven't gotten any response.

I thought it might be my access level on that instance but tried it on other instance too. Still I was not able to make any edit inside the code editor.

Do you have any idea why?

 

Avatar

Employee Advisor

Hm, could be that this is disabled in the UI.

You can try exporting it in a package, modify it in the XML file and then reimport it.

Avatar

Level 3
1) The comment provided here contradicts with what in Adobe's documentation. The below link says Control rules can't be modified for security reasons. https://experienceleague.adobe.com/docs/campaign-standard/using/testing-and-sending/working-with-typ... 2) If it is OK to create a new control rule, why Adobe doesn't provide this feature in UI using create New control rule. Why we have to do it in a kind of hacking method of creating a package, modifying it and exporting it? Does Adobe recommends to use this work around?

Avatar

Level 8

As Ramon mentioned, you can duplicate check unsubscription control rule and change logWarning link to logError

 if (delivery.content.email.length > 1) {
logWarning(sg.missingOptoutTextMultivariant(emailContent.variant));
}
else {
logError(sg.missingOptoutText());
}