Reputation: 151
In my c# application, I am trying to generically open a filemaker application that is hosted on the filemaker server assuming my c# application executes from the server that hosts the filemaker server. Currently it seems the only way I can do this is to open a generic fmp12 file that contains an External Data Source with the name "Open", type Filemaker, Details "fmnet:/fmserv/Open" where "fmserv" is the filemaker server hardcoded, along with a script trigger to Open File ["Open"]
First, is there any better way to do this programmatically in c# other than just opening this shell filemaker program? I may need to do this for over 20 different locations.
Upvotes: 1
Views: 541
Reputation: 422
I would use the fmp://
URL protocol. You can just call it as if it were a web URL, but FileMaker Pro registers to handle all fmp://
calls. You would use it in the format fmp://server.ip.address.or.dns.name/filemakerDatabaseName
.
You can even use it to call scripts and send parameters/variables to your database. See http://www.filemaker.com/help/12/fmp/html/sharing_data.16.7.html for more information.
Upvotes: 2