Components and Web Viewer connection problems

Web Viewer development communicates with FileMaker Pro via built-in Agent Access. A database file is reachable when FileMaker Pro has it open, Agent Access is enabled, and session authorization has been granted.

Diagnose connection

Prompt your coding agent to evaluate connectivity:

Copy
Diagnose the connection to my FileMaker file, fix what you can, and tell me what still needs my action.

Agent Access not enabled

If diagnostics report Agent Access is disabled, choose Tools > Agentic Development Kit > Manage Agentic Access in FileMaker Pro. Set Connection Port first (default port 19080), then select Agent Access. To change the port while Agent Access is enabled, turn it off, change the port, and then turn it back on. If FileMaker Pro uses a custom port, set the FM_DEV_SERVER_PORT environment variable to match and restart your terminal or agent host.

If the Tools menu is not visible, turn on advanced tools and restart FileMaker Pro:

  • macOS: Choose FileMaker Pro > Settings > General, select Use advanced tools, then restart FileMaker Pro.

Pending or declined authorization prompts

The first time ADK executes a script during a FileMaker Pro session, FileMaker Pro may display an authorization prompt. With a stored keychain password for the file, ADK signs in and FileMaker Pro shows no dialog. If an authorization dialog appears, enter your credentials or click Allow. Access lasts until you revoke it, the file closes, or you quit FileMaker Pro.

If an authorization prompt was declined, schema CLI operations continue to function, but Web Viewer development requires authorization. Prompt your agent to reconnect:

Copy
Reconnect this agent session to my open FileMaker file and check the setup again.

Multiple FileMaker Pro instances

Agent Access binds to a single port per running application instance. If running multiple FileMaker Pro copies concurrently, assign unique ports and define FM_DEV_SERVER_PORT in the corresponding agent environment to select the target instance. Alternatively, quit extraneous FileMaker Pro instances.

Unsupported FileMaker Pro versions

Agent Access requires FileMaker Pro 26.1.2 or later. If diagnostics report Agent Access is unavailable, verify your version under FileMaker Pro > About FileMaker Pro.

File not open

ADK can reach files via Agent Access only when open in FileMaker Pro. Open the database in FileMaker Pro and re-run diagnostics.

Missing or outdated components

Inspect custom functions, layouts, and scripts under the Agentic Development Kit folder by prompting your agent to reconcile differences with the current ADK installation. See Check and update a file's ADK components.