Arcgis server print task template




















To get printable images, users of this service will submit their own web map JSON for this parameter. Once you publish this tool to the server, the output is placed in the server jobs directory. If you only want to reference the basic layouts installed with ArcGIS Enterprise , leave this parameter blank. This will be the default layout when users run your service.

The task provides the size of the layout page and the size of a map frame. It also shows whether the following layout elements are available: Legend Title text Copyright text Author text Custom text elements. Now that you have run the two geoprocessing tools with your custom layouts, you can share the results to ArcGIS Enterprise. The workflow you follow next depends on whether you are working with an ArcGIS Enterprise portal with one or more federated server sites or a stand-alone server site.

If you work with an ArcGIS Enterprise portal, follow these steps to share the geoprocessing tool results to the portal as a web tool:. Both of the tools you ran are now incorporated into this web tool.

Both of the tools you ran are now incorporated into this print service. If you want to update the layouts in your layout templates folder, the appropriate workflow is determined by whether you registered the layout templates folder with the server before sharing see the "Registering your layout templates with ArcGIS Server " section above. It also matters whether you want to add a new layout to the folder or just update an existing layout.

This is because the geoprocessing task you created keeps a list of the layouts that were in your layout template folder at execution time. It also shows whether the following layout elements are available: Legend Title text Copyright text Author text Custom text elements. You can also add this task to custom print services. For instructions, see Tutorial: Publishing additional services for printing.

Note: It is not recommended to use your own layout templates with the PrintingTools service. Instead, you should publish a custom print service. Whether you use PrintingTools or a custom print service, the legends in your printed output will behave similarly. When printing feature services, the legend in the printed document will only include legend entries for the features found in the map extent, whereas legends for other service types will include all of the legend entries for the features regardless of the map extent.

Starting at The default layout templates in the PrintingTools service do not use fonts supporting Unicode characters. You may thus run into issues with titles or legend items, specifically with international characters. To remedy this, consider publishing a custom print service using your own layout templates, and set a font that supports Unicode characters: While working with the legend element in ArcGIS Pro , you can set a font supporting Unicode characters for the default legend item.

ArcMap does not support changing the font of the default legend item. Therefore, you need to write an arcpy -based printing service to change the style for all items in a legend element. There may be occasions when you need to publish additional services for web printing beyond the PrintingTools service included with ArcGIS Enterprise. For example, you could create a service and configure it to point at your own folder of map layouts.

Or you could publish one freely available service while making a more advanced service available for a fee. You should not update the layouts that come with the default PrintingTools service, nor add new layouts and republish this service. To make your own service for printing, you need to publish a geoprocessing service with the Export Web Map tool. You will work with a folder of ArcMap documents. This is your layout templates folder. If you cannot get your layout templates folder onto the server or into a location accessible by the server, do nothing.

The layout templates folder will be copied to the server at the time you publish the service, thereby ensuring the server can see the folder. Although this option is easier to configure, it takes more steps to update your layout templates in the future. The first step in publishing is to run the Export Web Map tool with the default values you want for your service. Next, you will run the Get Layout Templates Info script tool.

To do so: From the Insert tab of the ribbon, select the Text command in the Text group. Click on a location on the layout to position the new text element.

Open the Property page for the text element. Insert one of the following tags into the selected element's Text property: titleText. Do not insert the User dynamic text into the layout. This dynamic text will populate with sensitive information about the print service. If the folder is accessible to the server, you can register it with the server; otherwise, copy the folder's contents to the server from ArcGIS Pro when you share the web tool.

When you're ready, run the Export Web Map script tool using the folder containing your custom layout templates. Next, run the Get Layout Templates Info script tool, referencing the same folder.



0コメント

  • 1000 / 1000