When I run the following script, the background shows on the Preview tab, but not the Design tab:
//Show PDF File in the Background
merge.template.contexts.PRINT.sections[‘Facesheet’].background.source = BackgroundResource.RESOURCE_PDF;
resourceUrl = ‘file:///C:/Test/Facesheet.pdf’;
merge.template.contexts.PRINT.sections[‘Facesheet’].background.url = resourceUrl;
When I set the background via the GUI in the Print Section Properties, the background shows on both the Design and Preview tab.
Is there a way to get the background to show via a script in the Design view?