Frequently asked question

Why do I get an error starting the HTML Viewer JavaPost sample?

Last Published: April 25, 2020


The MapFrame.htm file in the JavaPost sample is missing a variable that is causing this error to occur.

1. Navigate to the JavaPost directory and open MapFrame.htm in a text editor.

2. Use the Find tool to locate the following text:

var cornerOffset = 8;

3. Insert the following lines below it:

// number of form to use - Generic sample only
var genericLoadForm = 1;

4. Save the file.

After this change, the JavaPost sample starts as expected.

Article ID:000005220

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic