Skip To Content

Enable and disable product types

Disponible avec une licence Production Mapping.

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.

Remarque :

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.

Remarque :

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

Remarque :

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.

It's recommended to configure label and symbol properties of the feature layer before publishing it to your service.

See how you can label with a standard label engine and apply symbology to draw individual layers in a single category.

  1. Publish your Fixed Product service in ArcGIS Pro.
    1. In the General section, under Service Details, type the Name of the service as FixedProductExtent.
    2. Under Location click the Folder drop-down arrow and choose POD.
    3. Click Analyse and resolve any errors or warnings.
    4. Click Publish.
  2. Sign in to your portal as a server manager by launching https://gisserver.domain.com/arcgis/manager.
  3. Click Services > Manage Services and choose the POD folder.
  4. Click Map Service on the FixedProductExtent page and browse to the Capabilities tab.
  5. Check the Feature Access capability check box.
  6. 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.