Brian Dunning's FileMaker Custom Functions

getFMPURL

Returns a URL link to the shared database

  Be the first to rate this function Log in to vote

Andrew Duncan   Andrew Duncan - Show more from this author
Databuzz
https://www.databuzz.com.au

Share on Facebook Share on Twitter

  Sample input:
getFMPURL
  Sample output:
fmp://acmecorp.account.filemaker-cloud.com/Customers

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Returns the URL link to the current shared database. Can swap Get (HostIPAddress) with Get (HostName) as required. Get (HostName) is best if you have set the host name in your FileMaker Server Admin Console to your FQDN. With FileMaker Cloud 2.x hosted files Get (HostIPAddress) returns the host name not the IP address.

Returns the same result as the File menu > Send > Link to Database menu option.

If you are using FileMaker Pro v18 or later you can replace fmp with a version specific url scheme to always open the file in a specific version of FileMaker Pro. For example you can use fmp18 for FileMaker Pro v18, fmp19 for FileMaker Pro v19 and so on.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: