Skip To Content

Deploying Products on Demand (PoD)

Production Mapping ライセンスで利用できます。

ArcGIS for Maritime: Server allows you to deploy a web-based app to generate information map products on the fly and create any product at any scale.

Copy productsondemand folder

Copy the productsondemand folder from the PoD installation to the deployment location. The files in the PoD installation location can be treated as a backup, and the files in the deployment location will be modified as needed. The recommended location to copy the productsondemand folder to is <ArcGIS Server installation drive>\arcgisserver\directories\maritimeserver so that the PoD folder and maritime server folders will be under the same folder.

Perform the following steps to deploy Products on Demand (PoD) within your ArcGIS Server site.


To complete the steps, you need to have a map service with Maritime Chart Service enabled.

  1. If necessary, create a folder named maritimeserver in the ArcGIS Server site at <ArcGIS Server installation drive>\arcgisserver\directories.

    If this location does not exist, verify that your ArcGIS Server site has been created and Maritime Chart Service has been enabled.

  2. Copy the productsondemand folder from <ArcGIS Server Installation Directory>\MaritimeServer\Server<version> to the <ArcGIS Server installation drive>\arcgisserver\directories\maritimeserver folder created in step 1.
  3. Configure the ArcGIS Server account.

Configure sharing and permissions

Perform these steps to configure sharing for the <ArcGIS Server installation drive>\arcgisserver folder and to add Full Control permissions for the ArcGIS Server account:


PoD product export processing will write or modify necessary files in this folder.

  1. Right-click the arcgisserver folder and click Properties.
  2. Click the Sharing tab.
  3. Click Advanced Sharing.
  4. Check the Share this folder check box.
  5. Click Permissions.
  6. Click Add on the Share Permissions tab.
  7. Add the ArcGIS Server account.

    You can specify the locale of your ArcGIS Server account. By default, this user is usually ArcGIS.

  8. Once the ArcGIS Server account has been added, click OK to close the Select Users or Groups dialog box.
  9. Choose the newly added ArcGIS Server account in the Group or user names section on the Share Permissions tab and click the Allow check box next to Full Control.
  10. [OK] をクリックします。
  11. Click OK again to close the Advanced Sharing dialog box.
  12. [閉じる] をクリックします。
  13. Click OK again to close the Properties dialog box.

Publish the service definition files

Publish the two service definition files to ArcGIS Server for PoD to calculate the AOI extent when you create an extent on the map to export a PDF chart.

  1. Sign in as a server manager by launching

    Publish the service definition files using ArcGIS Server Manager. To streamline deployment, it is recommended that you create a folder within ArcGIS Server Manager named POD to organize your PoD-related services.

  2. Click Services > Manage Services, choose the POD folder, and click Publish Service.
  3. Click Choose File to browse to the service definition you want to publish, or type the path to the file.

    The default location is <ArcGIS Server installation drive>\arcgisserver\directories\maritimeserver\productsondemand\ServiceDefinitionFiles.

  4. Select and click Open.

    Do not change the name of the service. Doing so will not allow the web app to work.

    The service definition is published to the server folder specified in the service definition configuration by default. If you want to change the folder where the service definition will be published, choose a folder from the drop-down list or click New.


    All PoD service definitions must be in the same folder to properly deploy Products on Demand. It is recommended that you create a folder to organize your PoD-related services. POD is the recommended folder name.

  5. Click Next.

    You will need to specify properties for your new service. No additional capabilities are required to be selected.

  6. Click Back or click Next as necessary.
  7. Click Publish.
  8. Repeat steps 3 through 6 for

Update the file

This process must be done after you have published your PoD service definition files. This will make your Calculators and ExportWebmap geoprocessing services use the updated file:

  1. In Windows Explorer, browse to the file and edit it.

    The default location is <ArcGIS Server installation drive>\arcgisserver\directories\maritimeserver\productsondemand\Tools.

  2. Update the following variables:
    • shared_products_path and output_directory—Update the variables with your machine name, domain, and folder path if you did not use the recommended default settings.
    • output_url—Use of localhost is only for local testing. Otherwise, update the variable with your machine name and domain and update the folder path if you did not use the recommended default settings.
  3. Save the changes to, then click File > Exit.
  4. Copy your updated file to your newly published Calculators and ExportWebmap PoD services' arcgisinput location.
  5. Browse to your arcgisinput location for POD.

    The default location is <ArcGIS Server installation drive>\arcgisserver\directories\arcgissystem\arcgisinput\POD.

    • Copy your updated file located in step 1 to <Installation Location>\arcgisserver\directories\arcgissystem\arcgisinput\POD\Calculators.GPServer\extracted\p20\tools.
    • Copy your updated file located in step 1 to <Installation Location>\arcgisserver\directories\arcgissystem\arcgisinput\POD\ExportWebmap.GPServer\extracted\p20\tools.
  6. In ArcGIS Server Manager, click Services > Manage Services.
  7. Click Folders > POD.
  8. Restart your Calculators and ExportWebmap geoprocessing services.

Update geo-enabled notes

Geo-enabled notes allow you to generate textual notes for Product on Demand (PoD) outputs based on the geographic location of the product.

The notes are stored in a multipart polygon feature class, where each record has a text field that contains the note. When a new product area of interest is inserted, the area of interest is intersected with the geo-enabled notes polygon layer, and a separate A4 sheet is appended to the GeoPDF export. If there is more than one page of notes, a second page is generated, and so on.

Perform the following steps to customize geo-enabled notes:

  1. Unzip the file located in the <ArcGIS Server installation drive>\arcgisserver\directories\maritimeserver\productsondemand\LayoutTemplates folder.

    A sample notes geodatabase exists in the file.

  2. Add multipart polygon features to the FeatureClassForNotes feature class in Notes.gdb.
    • Sample notes can be found in the FeatureClassForNotes_Sample feature class in Notes.gdb.
    • Multipart polygons allow you to have several geographic locations that share the same note text without any redundancy.
  3. Optionally edit the following fields in the FeatureClassForNotes feature class:


This is a mandatory field.

Note text or body of the paragraph.

This is an optional field.

Name of the note that will print above the note paragraph.

This is an optional field.

Red, Green, Blue (RGB) value of the note paragraph and title. Separate values with a single comma (,). The note will appear with black text if the field is empty, null, or has invalid values.


This field does not comply with CYMK.

This is an optional field.

Allows you to specify the largest scale chart on which the note will appear. For example, if a note should appear on charts between 1:40000 and 1:90000, you will type 40000 in the field.

This is an optional field.

Allows you to specify the smallest scale chart on which the note will appear. For example, if a note should appear on charts between 1:40000 and 1:90000, you will type 90000 in the field.

Customize layout templates

Map elements

PoD provides several layout templates for various page sizes and orientations. Each layout contains map elements, such as scale bars, north arrows, and legends; logos; text; or other graphics that are created for specific purposes in the chart. Layout elements can also be map frames.


Rename your A0 and ANSI E templates. For example add a _withnotes suffix to the template name. Remove the _withoutnotes suffix from your backup A0 and ANSI E templates. The system will now recognize the A0 and ANSI E templates that no longer have common notes.

By default, your layout template font is set to Arial.

Manage elements

During product creation, the map elements are updated dynamically to reflect changes in the chart, such as scale, geographic extent, and generation date. PoD uses the names of elements to manage and identify which elements are to be modified by the automation script. Map element names should not be changed. If names are modified, the element cannot be managed using the automation script. If necessary, you can access the name by clicking Element Name on the Size and Position tab on the Properties dialog box.

Map frame

The area of interest (AOI) generated in the Products on Demand web app is obtained from the layout template's map frames. A calculator finds the bottom left corner of the data frame, then the left and bottom edge. Changing the map frame size will impact AOI size.

Configuring the web app

Once you have published your service definition files, updated your layout templates, published a map service with Maritime Chart Service enabled, and updated your file, you are ready to configure and deploy your PoD web app.

  1. Browse to <ArcGIS Server Installation Directory>\MaritimeServer\Server<version>\WebApplications and copy the POD folder to C:\inetpub\wwwroot if using Internet Information Server (IIS) to deploy your web app.

    You can rename the pod folder. This will be the name of the app you access over the web.

  2. Register your web app and get the App ID.
  3. Update your podconfig.js file located under pod\js.
    1. Update the serviceURL with the location of the service you created in step 2 of Publish the service definition files.

      If the recommended defaults were used, the path is

    2. Update MCSURL to the map service with Maritime Chart Service enabled.

      If you enabled Maritime Chart Service for SampleWorldCities, then the path is


      Your app will use the Esri Ocean basemap. You can choose another basemap by modifying the basemap variable.

    3. Update appID with the App ID you created in step 2. This allows you to sign into ArcGIS Online or your portal account.
  4. Save the changes to your podconfig.js file.

You are now ready to use Products on Demand by launching the app.

Register the web app through portal

If you registered the web app through portal, complete these post-registration steps:

  1. Browse to the POD folder in your web root folder. For example, C:\inetpub\wwwroot\POD if you are deploying your web app using Internet Information Server (IIS).
  2. In the widgets\AddData folder, open Widget.js.
  3. Update the portalUrl variable to
  4. [保存] をクリックします。
  5. In the widgets\LayerList folder, open Widget.js.
  6. In the appConfig section, update the portalUrl to
  7. [保存] をクリックします。
  8. In the js folder, open SignInButton.js.
  9. Uncomment // portalUrl: "", and update the portalUrl.
  10. [保存] をクリックします。

Troubleshoot Maritime Server configuration issues

What if I don't see Maritime Chart Service data in my Products on Demand app?

Verify that the MCSURL set in step 3 of the Configure the web app section is accessible to the user accessing the app.

What if I observe an Unable to complete Operation error?

Add Configure ArcGIS Server Account to the installation directory if you observe the error Unable to complete Operation. Error Executing tool. CalculateExtent.

What if my Maritime Chart Service does not display or disappears after changing my display properties?

Check if you have exceeded the server URL length of 2048 characters when using display parameters, and if so, increase the allowable URL length in the web.config.xml file.