Jump to content

Question

I have a link in a site that triggers a script in filemaker via the FMP url protocol below. It works great but how do i use the "&param=" and send more than one parameter that is needed. Like say RecID, company name, etc.? Right now u put those after the equal sign in param and separate them via the pip character like in the url below but i want something thats will be better with less of an issue down the road.

 

FMP://192.168.10.0/filename.fmp12?script=scriptname&param=CLI12534|ABC Widgets R US

 

If theres a way to do so or if it can be done passing it to json format thats fine too then i can leverage the FM16 JSON functions that the url calls

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

If you substitute the pipes with %0A like this: FMP://192.168.10.0/filename.fmp12?script=scriptname&param=CLI12534%0AAB C Widgets R US, then you can easily use GetValue(Get(ScriptParameter);1) to get the first parameter, GetValue(Get(ScriptParameter);2) for the second, and so on.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×