Jump to content

kdefilip

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by kdefilip

  1. Thanks Sky. I've got it. Using your example I found that my DB name was the issue. My DB name was MyFMPdb-V3.4. It didn't like either the hyphen or the DOT. Once I renamed my DB, I can now get it to go to the DB and start the script. Thanks for all your help. My last step will now be figuring out how to get the variable (msg) on my web viewer to be picked up in the URL so I can set it to a field in the layout. Thanks again.
  2. Hi Sky, Thanks for the helpful advice. Even with your syntax, I am still getting an error, albeit a bit different. The error now says simply: "The file MyFMPDB could not be opened. Either the host is not available, or the file is not available on that host." Also, this example from the link you sent should work, but it isn't. Run the script ListClients from an open file named Clients.fmp12: fmp://$/Clients.fmp12?script=ListClients
  3. BRUCER, link: http://isolutions-inc.com/2014/04/05/fmp-url-scheme-and-the-13-0v2-improvement/ Look at the last two examples - I don't see how it differs from mine at all.
  4. Hi all I have a web viewer in a FMP database layout. All is functioning fine in the web viewer. Inside the web viewer I have a variable which is just a string of text. I can get this variable to print on screen in the web viewer so I am sure it is performing properly. However, I would like to now take this variable and its value and pass it back to FMP for use in a search script. I have fiddled around with the FMP URL, but I can not make it work. Currently, the variable name is "msg" and the url I am attempting to use looks like this: <a href="FMP://$/MyFMPdatabase/script=isolatesearch&param=msg&value=$msg"> The error it throws is this: "The file MYFMPdatabase/script=isolatesearch&param=msg&value=$msg.fmp12 could not be opened. Either the host is not available, or the file is not available on that host." Not sure why it's appending .fmp12 to the value either. Any suggestions on how I might accomplish this would be greatly appreciated. Thanks.
  5. I'm not sure that is what I am looking for. That appears to be opening a FMP database and then looking for a specific FMP file. <a href="FMP://$/MyFMPDB/script=isolate&$msg">Isolate</a></div> This string gives the resulting error: "The File 'MyFMPDB.fmp12/script=isolate&$msg.fmp12" could not be opened. Either the host is not available, or the file is not available on that host" My intention is to pass a java variable which is generated within the webviewer back to a script within the same FMP DB. In other words, the variable name is 'msg', but this piece of code seems to interpret the 'msg' as a FMP DB name.
  6. Hi Thanks for your reply. I'm trying the push with fmp url or protocal as I think I have seen it called. Not having much luck, but I will keep fiddling with it and report back what I am able to accomplish or not. Thanks again. kd
  7. I currently have a web viewer that contains a google map. On this map I can draw a rectangle to select an area of the map. I collect the the latitude and longitude of the southwest corner and northeast corner into java variables. I am able to print these java variables on the web viewer. They look like this in the web viewer and are formatted in such a way as to be ready for a search range in FMP: NE: 43.02144735023339...43.06470481674727SW: -76.24412939453123...-76.07445532226564 I would like to collect each of these variables and pass them back to a FileMaker scrip which will perform a find on two fields. Is there a way to grab these two Variables from the web viewer and pass to a FMP script for searching the data held within FMP layout
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.