Defining a custom web addressFileMaker Pro includes web viewer templates that define web addresses for several websites. However, you can create a custom web address for any website you want to display in a web viewer.The web address for a web viewer is a calculated expression, similar to a formula specified by a calculation field. To create a custom web address, you create a formula that can consist of constants, field names, functions, and operators. FileMaker Pro evaluates the expression to construct a URL, which the web viewer uses to display a web page.
1. In Layout mode, add a web viewer, or select a web viewer that is already on the layout and choose Format menu > Web Viewer Setup.
2. In the Choose a Website list, choose Custom Web Address.If a website template was previously selected, its web address remains in the Web Address box, but the website parameter boxes disappear.
3.
5. Click OK to close the Specify Calculation dialog box.
• To see example web addresses, click any of the websites in the Choose a Website list. If one of the addresses is similar to the custom web address you want to create, you can edit the example.
• To see a calculated URL based on your custom web address, in Layout mode choose View menu > Show > Sample Data.
•
• begins with the correct scheme — for example, http://, https://, ftp://, gopher://, or file://. If you omit the scheme, the operating system’s web browser might use one that you didn’t intend.
• is correctly encoded as a URL, by selecting Automatically encode URL. See About URL encoding in web viewers.