Frequently asked question

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

Last Published: April 25, 2020

Answer

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

Software:
  • Legacy Products

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options