What is the fmp: URL protocol?

This is a special url, prefixed with fmp, that is answered by FileMaker Pro (or Go) instead of by your browser. These URLs can contain scripts and script parameters and it is by opening URLs like this that DayBack Calendar can talk to FileMaker Pro.

The url protocol itself (the prefix) is registered with your operating system when FileMaker is installed. If you install more than one copy or uninstall lots of copies you can mess up this linkage of the URL with the most recent version of FileMaker and *no application* will answer the URL.

FileMaker 16: Changes Required??

FileMaker introduced a new extended privilege in FileMaker 16 that permits the FMP URL protocol to function. If you have an older version of DayBack, you may need to make a change to get things working in 16. The first time you open DayBack, ProMaps, or any webviewer-heavy solution in 16 without this privilege enabled, you'll see this error:

The fix is simply to enable the new privilege. Here's how.

1. Select File / Manage / Security from the FileMaker menus.
2. Click on the "Extended Privileges Tab", then double-click the "fmurlscript" keyword.
3. Check "on" for any privilege sets you wish to be able to use DayBack.
4. That's it! Click "refresh" in DayBack and you should be all set.

Why did FileMaker make this change? They believed that malicious users who knew your script names could trigger them from URLs even if you didn't provide buttons for those scripts. But users would still need to be logged into FMP with sufficient permission to run the script: the FMP URL doesn't bypass FileMaker security in any way.


Version 9.69 of DayBack includes a test to see if FileMaker is listening for these URLs: if you see an error stating that the fmp:// URL isn't working, the best way to fix it is to uninstall and the reinstall FileMaker Pro. More below.

Testing & Fixing the FMP URL Protocol

You can verify that your fmp url calls are working correctly by opening DayBack, then clicking on following link: fmp://$/DayBack.fmp12?script=Unused&param=run

Note: If you receive the message 'The file "DayBack.fmp12" could not be opened', you likely have renamed your DayBack file or embedded DayBack into your own file. In this case, you will need to copy this link, paste it into your web browser's address bar, replace the "DayBack.fmp12" portion with the name of your file and press enter/go.

If you receive a popup in FileMaker with the message "This button is not yet assigned to anything", your fmp url calls are working correctly.

If the above test fails to run, or gives you a different error message, your fmp url calls are not functioning properly. Fortunately this is pretty easy to fix...

Mac. Usually the Mac will open the URL in the highest currently open version of FileMaker. So all you may need to do is quit the version of FileMaker you don' want to be using. But you may be able to modify the launch services plist file directly. Open ~/Library/Preferences/
and you'll find an array called LSHandlers and a sub-array called LSHandlerURLScheme... In some cases you'll see that was pointing to fmp and not fmpa13. This doesn't appear to be in the same place for every version of MacOSX.
Windows. If you've installed multiple instances of FileMaker, URL links will open, by default, in the last version of FileMaker installed. If you'd like to change the default FileMaker version that is used for FMP URL links in Windows, you can modify a registry key, rather than uninstall/re-install that version of FileMaker.
First, while this change should not affect your system in a devastating way, if you don't implement it correctly or modify/delete the wrong keys, you make render your system unusable. Therefore, a warning from Microsoft: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to re-install Windows to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.
There is only one registry key value that must be modified for this solution. If you can't find this key in your registry, it would probably be best to just uninstall/re-install the version of FileMaker you'd like to open FMP URL links by default.
  1. 1. Open Regedit and Backup your registry. (Instructions Here)
  2. 2. Find the following key:
  3. HKEY_CLASSES_ROOT\FMP\shell\open\command
  4. 3. Modify the "(Default)" value with the path to the version of FileMaker you'd like to use by default with the following added at the end: %1. for example:
  5. C:\Program Files\FileMaker\FileMaker Pro 15 Advanced\FileMaker Pro Advanced.exe %1
You may need to restart FileMaker to see the changes take effect. This change should update your system to open FMP URL links with the version of FileMaker you specified in the registry.
Follow us: