Skip To Content

Enable and disable product types

Available with Production Mapping license.

Fixed and custom products are supported in Products on Demand (PoD). These are options available in the web app Print Properties pane. You can thus choose which product type your PoD app displays: Custom Product, Fixed Product, or both.

The Fixed Product option is for more standardized cartographic outputs. The host organization defines the chart extent, scale, page size, and orientation available in the web app. You can choose a chart extent from a published feature server layer.

The Custom Product option allows you to create charts anywhere. Charts are built in real time using the scale, page size, and orientation options in the app.

Note:

Areas of interest (AOIs) representing chart extents must be created before enabling the Fixed Product tab.

Enable the Fixed Product tab

The Fixed Product tab is disabled by default, and will not appear in the initial deployment of the PoD web app. To enable this functionality in the web app Print Properties pane, you must remove the JavaScript comment.

  1. Browse to your Products on Demand deployment location and open the web app configuration file located at C:\inetpub\wwwroot\pod\js\podconfig.js if using Internet Information Server (IIS) to deploy your web app.
  2. Locate //{ attrTable: "FixedProductTable", instanceTable: "FixedProductInstanceTable" } under ProductDefinitions.
  3. Delete the two forward slashes from the JavaScript comment { attrTable: "FixedProductTable", instanceTable: "FixedProductInstanceTable" }.

    The comment will be removed.

Publish areas of interest for a Fixed Product

A polygon feature class with areas of interest representing chart extents must be created before enabling the Fixed Product tab. This Fixed AOI polygon feature class is published as a map service to ArcGIS Server with Feature Access capability enabled.

A fixed AOI polygon feature class must be created with the following mandatory fields.

Note:

Field names must be lowercase.

Field nameExplanationData type

chart_name

Displays the name inside area of interest and is chart title at export.

String

orientation

Orientation of the sheet. Attributes are Portrait and Landscape.

String

page_size

Valid values for page_size are: A0, A1, A2, A3, A4, C, D, E, and Letter.

String

scale

The scale of the chart product. For example, if the scale is 1:20,000, you would enter 20000.

Double

Note:

A sample fixed AOI polygon feature class is located at <ArcGIS Server installation drive>\arcgisserver\directories\maritimeserver\productsondemand\ FixedProduct.zip. This geodatabase contains a feature class with the mandatory fields and attributes.

When extracting the zip file, verify the file path is ArcGIS Server installation drive>\arcgisserver\directories\maritimeserver\productsondemand\FixedProduct\FixedProduct.gdb. The geodatabase must be inside the FixedProduct folder without a file extension.

  1. Add geometries to the polygon feature class and provide attributes for the four mandatory fields.
    Examples of valid fixed AOI feature classes and attributes
  2. Start ArcMap.
  3. Add the fixed product polygon feature class to the Table of Contents window.
  4. Right-click the layer and click Properties.
  5. Click the Symbology tab.
  6. Click the symbol in the Symbol group.
  7. Use the Current Symbol group to change the symbol properties.

    These changes will appear in the Products on Demand web app.

    Note:

    Set Fill Color to No Color and Outline Width to 1.00 and Outline Color to Dark Navy.

  8. Click OK to close the Symbol Selector window.
  9. Click the Labels tab in the Layer Properties window.
  10. Check the Label features in this layer check box.
    Label features in this layer check box
  11. In the Text String group, set Label Field to chart_name.

    This will allow you to see the chart title in the web app.

  12. Click OK to close the Layer Properties window.
  13. On the main menu, click File > Share As > Service.
  14. Click Publish a service and click Next.
  15. Choose a connection, or add a new ArcGIS Server connection.
  16. Enter Service name as FixedProductExtent.
  17. Click Next.
  18. Click Use existing folder and choose POD from the drop-down list..
  19. Click Continue.
  20. On the Service Editor dialog box, click Analyze and resolve any errors or warnings.
  21. Click Publish.
  22. Choose Data to Server if you have not registered the layer data with the server.
  23. Click OK on the Service Publishing Result dialog box.
  24. Log in as a server manager by launching https://gisserver.domain.com/arcgis/manager.
  25. Click Services > Manage Services and choose the POD folder.
  26. Click Map Service on the FixedProductExtent page and browse to the Capabilities tab.
  27. Check the Feature Access capability check box.
  28. Click Save and Restart for the Map Service on the FixedProductExtent page.

Disable the Custom Product tab (optional)

The Custom Product tab is available with the default deployment of Products on Demand. If you don't want the Custom Product tab to appear in your web app Print Properties pane, a JavaScript comment can be added to the podconfig.js file.

  1. Browse to your Products on Demand deployment location and open the web app configuration file located at C:\inetpub\wwwroot\pod\js\podconfig.js if using Internet Information Server (IIS) to deploy your web app.
  2. Locate { attrTable: "DynamicAreaTable", instanceTable: "" } near the bottom of the file under ProductDefinitions.
  3. Add two forward slashes at the beginning of the statement //{ attrTable: "DynamicAreaTable", instanceTable: "" }.

    This will disable the code and stop it from executing.