getFMPURL
Returns a URL link to the shared database
Be the first to rate this function Log in to vote
Andrew Duncan - Show more from this author
Databuzz https://www.databuzz.com.au |
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
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.