I had an old control script that would only output records that match email or accnum in a Switch Case. 2026.1.1 ignores all records regardless of what is in the script. Why?
Sample script:
var AccNum = record.fields.Email;
var section1 = merge.context.sections["Section 1"];
section1.enabled = false;
switch(AccNum){
case ("SAMPLE@SAMPLE.COM"):
section1.enabled = true;
break;
}
If I go to the record in the designer the section enables as it should. If I print exactly that record I get output, no error. But I get the above error when printing all records. This did not behave like this before. Is it something to do with Chromium or are you using both Chromium/Gecko for backwards compatibility? Or am I supposed to do something else/different for this?
Without seenig the data and the Connect resources and reproducing the problem, it is hard to help you out. I suggest you open a technical support ticket through our website.
Problem Occurred
'Printing via the Print Server' has encountered a problem.
An unspecified error occurred which was caused by LoggedApplicationException: There was an error running the content creation process caused by All sections have been disabled by a control script (SRV000001)
[OK] [Details >>]
(Just adding a transcription of the error to make searching for the error possible)