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?
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."
For AGOL, the situation is different since the default print service doesn't support custom templates. You would need to either:
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
Shengdi,
I have uploaded a custom layout template (pagx) but I cannot get the "Use layout from layout item" option to show up in the Template Configuration when adding a New Template within the Print Widget. Am I missing a step?
Thanks,
Jesse
Hi @jcgregg ,
Are you using ArcGIS Online? This feature is not yet available on ArcGIS Online.
If you also have ArcGIS Enterprise, you can connect the Print widget to a print service from your Enterprise environment. In that case, you should be able to see the layout templates from your Enterprise content.
Thanks,
Shengdi
Hello Shengdi,
I am trying to use a custom print template in ArcGIS Experience Builder (Enterprise 11.3). I uploaded the custom template from ArcGIS Pro as a web tool and added it to Experience Builder. However, when I attempt to print by selecting the feature I want to print, I receive an error message, as shown in the attached image. Has anyone encountered this issue or have any suggestions on how to resolve it?
Hi @DakshataShahi1 , From your screenshot and description, it seems you are using a custom print service rather than a custom print template. You can open the Developer Tools → Network tab and check whether any error messages appear in the 'execute' request. In most cases, such issues are related to the print service itself.
Hi @jcgregg and @ShengdiZhang,
My organization just upgrade our Enterprise to 11.5 from 11.3. After our upgrade I am having this issue as well. At 11.3 I could easy add a custom layout template from right within ExB but after our upgrade the option doesn't show up at all. What's up with that? It was such a nice feature!
Hi @ajohnson ,
I can confirm this is a bug, thanks for bringing it to our attention.
As a temporary workaround, you can go to your organization settings → Utility services, and set the printing service URL to empty.
Please let me know if the issue persists after trying this.
Thanks,
Shengdi
Hi @ShengdiZhang,
We are experiencing a similar issue. We have ArcGIS Enterprise 11.3 configured. Even when we use the ESRI default for printing, the issue still occurs.
Hi @krantiYadav75, It should work in 11.3. Could you share the URL of the print service you are using?