Troubleshooting layouts with web viewers
The following topics describe common problems and solutions when working with web viewers on a layout.
A web viewer displays “Loading:” and a URL, but doesn’t load a web page
 •
The URL might be invalid. In Layout mode, you can see a calculated URL by choosing View menu > Show > Sample Data. (Also, a web viewer displays the URL that it is trying to load in Browse mode.) Look at this URL closely. Then in Layout mode, choose Format menu > Web Viewer Setup. In the Web Viewer Setup dialog box, try the following changes to the web address:
 •
 •
 •
 •
 •
 •
 •
Links, fields, tabbing, and scrolling in a web viewer don’t work
 •
The web viewer is set to prevent interaction. To enable interaction, in Layout mode choose Format menu > Web Viewer Setup. In the Web Viewer Setup dialog box, select the Allow interaction with web viewer content checkbox.
 •
A web viewer is blank in Find mode
The web viewer is set not to display content in Find mode. To display content, in Layout mode choose Format menu > Web Viewer Setup. In the Web Viewer Setup dialog box, select the Display content in Find mode checkbox.
Web pages that use Java, JavaScript, or other installed plug-ins don't work
Some of the operating system’s web browser preferences can affect web viewers. In particular, if Java, JavaScript, or other plug-ins are disabled in the web browser, then these technologies are disabled in web viewers also. In the preferences or options dialog box of the operating system’s web browser, enable the technologies that are needed.
Some web pages don’t work correctly in a web viewer
Some technologies used by some web pages might not work correctly in a web viewer. In these cases, use a web browser instead.
 •
If the web page in a web viewer contains links, you can open a link in a separate web browser window. From the shortcut menu on a link in a web viewer, choose Open in New Window (Windows) or Open Link in New Window (OS X).
 •
Open URL [No dialog; GetLayoutObjectAttribute ("Web Viewer 1"; "source")]
This script gets the current URL of the web viewer named “Web Viewer 1” and opens it in a separate web browser window. For more information, see Naming objects.
Some web browser features don’t work as expected in a web viewer
Web viewers provide many of the same features as your operating system’s web browser, but not all. Also, some web browser features work in web viewers on one operating system but not the other.