Hi, is there a way to set a default value for the File name in the print service?It is currently blank, and if the users do not enter anything it saves the printout as untitled.pdf.
Hi, that dynamic text element doesn't work. The File Name is still blank by default. This is in the javascript 4 environment. It works fine in js 3
Hi @TheGreenOrange,
By default, the PrintingTools service in ArcGIS Server uses the value "Title" of the parameter from the web map JSON to name the output file (e.g.,Title.pdf ). If this parameter is not provided, the output defaults to untitled.pdf.
You can create a custom layout in ArcGIS Pro or ArcMap and add a dynamic text element for the map title
<dyn type="layout" property="metadata" attribute="title" emptyStr="DefaultMapTitle"/>
Share custom layouts for printing from ArcGIS Pro: https://enterprise.arcgis.com/en/server/latest/publish-services/windows/tutorial-publish-additional-layouts-for-printing-with-arcgis-pro.htm
Export Web Map (Server):https://pro.arcgis.com/en/pro-app/latest/tool-reference/server/export-web-map.htm
You can also use Web AppBuilder or Experience Builder: Print Widget allows users to enter a title, which becomes the file name
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.