July 15, 201510 yr Since this feature is now back in FileMaker 14, I figure I'll ask here. How you do pass multiple parameters into a Web Direct script? All the docs say is http://<host>/fmi/webd#<database name>[?script=<script name>[¶m=<script parameter>][&<$variable name>=<value>]] But it doesn't say anything about passing multiple parameters. Do I have to set up my own delimiter or is there a specific syntax I need to use for the first parameter, second parameter, etc? Edited July 15, 201510 yr by James Gill
July 17, 201510 yr Yeah - this should be more straight forward (pure FileMaker). A couple of useful links:http://www.soliantconsulting.com/blog/2015/01/extending-webdirect-url-parametershttps://github.com/SoliantMike/FM-WebDirect_ParamsI have not yet to use this, but the schema seems to make sense. Fi you decide to go with it, please share your success.Good luck!
July 28, 201510 yr Author I guess what I'm saying is that this feature appears to be bugged, unless I'm doing something incorrectly. I posted a thread in the community forums, lets see if it goes anywhere. https://community.filemaker.com/message/196272#196272
July 28, 201510 yr Author Looks like it was a syntax error on my end; I assumed that the example included the '$' in front of the variable as an example, but it turns out that you have to pass the entire '$variableName=variableValue' string as the syntax for each named variable. Edited July 28, 201510 yr by James Gill
January 31, 20169 yr I've noted that there are two variations of the syntax: http://<host>/fmi/webd#<database name> and http://<host>/fmi/webd/<database name> Note the subtle difference, one uses "#databasename" the other uses "/databasename" - I think that some browsers treat the hashtag strangely so I've standardized on using the "/databasename" version. Edited January 31, 20169 yr by xochi
Create an account or sign in to comment