“No longer contact (by any channel)” field updates incorrectly in Adobe Campaign
When managing subscription preferences through a landing page in Adobe Campaign V8, the No longer contact (by any channel) field updates incorrectly. To resolve the issue, update the landing page logic to exclude channel opt-out.
Description description
Environment
- Product: Adobe Campaign V8
- Instance: Staging
Issue/Symptoms
- No longer contact by email field updates correctly based on user actions.
- No longer contact (by any channel) field is always checked, even when it shouldn’t be.
- This behavior is inconsistent with Adobe Campaign Standard Production, where both fields update as expected.
Resolution resolution
To resolve the issue, follow these steps:
-
Review and modify the
setOptOutFlag()function in your landing page code. -
Remove any line that sets the
@blackListattribute to true unless explicitly required. For example,- Remove:
document.controller.setValue('/ctx/recipient/@blackList', '1', 'blackList');
- Remove:
-
If you want to modify just the No longer contact by email field, retain only the line that updates the
@blackListEmailattribute. For example,- Keep:
document.controller.setValue('/ctx/recipient/@blackListEmail', '1', 'blackListEmail');
- Keep:
-
Test the changes thoroughly to confirm:
- The No longer contact by email field updates correctly.
- The No longer contact (by any channel) field remains unchanged unless explicitly modified.
If the issue persists, create a new web app or landing page with simplified logic to isolate and test the problem.
Related reading
Managing opt-in and opt-out in the Campaign Standard Documentation