Select to view content in your preferred language

Change print service on screening widget

827
1
08-22-2018 04:00 AM
MarkCooper5
Frequent Contributor

Hi

I want to remove all paper sizes except A4 landscape when printing the report from the Screening widget. I have created a new print services and set fixed values for format and paper size and then changed the url for the print service in the widget, but it still comes up with the full list of paper sizes. Does anyone have any suggestions how to achieve what I need?

Thanks in advance

Mark

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

Mark,

   In the Widget.js you can control the layouts that are added to the dropdown in the _addDefaultOptionsInWidgetDropdown function.

You can add an if statement before the options.push line.

0 Kudos