Select to view content in your preferred language

Printer Widget - Custom Template

987
1
10-23-2024 08:35 PM
Labels (1)
GilHamilton
Emerging Contributor

I'm looking to use a custom print template for the print widget.

This template would be based on a layout.

How would I go about setting a layout as a print template?

It seems I need to configure a print service but I'm not sure if I have or how to access an arcgis server which seems to be necessary in configuring a print service. 

Would it possible to implement dynamic text in the template? 
In the templates already given in the widget you can edit things like 'title', could something similar be done for a custom template? 

0 Kudos
1 Reply
ShengdiZhang
Esri Regular Contributor

Hi @GilHamilton ,

If you are using Enterprise 11.3, after uploading your layout file to Content, you can find it directly in the print template settings under "Use layout from layout item."

ShengdiZhang_0-1729750571465.png

For AGOL, the situation is different since the default print service doesn't support custom templates. You would need to either:

  1. Publish your own print service to use custom templates (arcgis server needed), or
  2. Use the beta feature in Map Viewer that supports custom templates (please see the document at https://doc.arcgis.com/en/arcgis-online/administer/configure-services.htm#ESRI_SECTION2_44B600A9053F... )

Would it possible to implement dynamic text in the template? 

Regarding dynamic text - you can include custom text elements in the template. For Experience Builder specifically, you can set default values for these text elements in the print widget settings and modify them during runtime.

Regards,

Shengdi