Registry setting 358 - Handling of links when changing hostname

lock
push_pin
done
Answered
0

Hi,

As described here: Mailings: Handling of links when changing hostname (migration or onsite), you can set a registry setting with allowed hostnames for the hash calculation of links in the mailings, so that they don't break after mgirating to Online (and you have put in a redirect at the old/OnSite domain).

I have been trying different combinations of getting this to work, but no matter what I do, I get the an error with that the link is invalid:

Example:

Customer domain is 'superoffice.label.company.nl', working link in a mailing for the current onsite environment is:

https://superoffice.label.company.nl/scripts/customer.fcgi?action=ejLink&key=2358:8915:2383:dc31c93739640ec674e393dae1ef0a275c945e7d&sai=1571556

New link in their Online environment would be:

https://online2.superoffice.com/<tenant>/CS/scripts/customer.fcgi?action=ejLink&key=2358:8915:2383:dc31c93739640ec674e393dae1ef0a275c945e7d&sai=1571556

I filled in the registry setting 358 the following CRMScript:

SearchEngine seRegUpdate;
seRegUpdate.addData("registry.value", "superoffice.label.company.nl,online2.superoffice.com");
seRegUpdate.addCriteria("registry.reg_id", "OperatorEquals", "358");
seRegUpdate.update();

But accessing the link to the online environment still throws a link not valid error.

How is this supposed to work?

12 h, 48 m ago | 04:24 PM

All Replies (0)

Add reply