Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Trigger scripts via url in a runtime solution.

Featured Replies

I currently have  a solution that creates a .bat file and runs it. When the .bat file is done running it calls a URL that triggers a script that displays an all done dialog box. This all works fine with I run my solution in filemaker. If I try to do this from a runtime solution, the URL call from the .bat file causes filemaker to open to a blank screen.

 

I have a feeling that It is due to runtime solutions not being a shared database. Can anyone give some insight to this? Perhaps a work around?

 

Here is the source for the URL calling:

http://www.filemaker.com/12help/html/sharing_data.16.7.html

Runtimes do not work on a server.

  • Author

Thanks for the response.

 

Let me elaborate some more. 

The file, let's call it "foo", I have isn't on a server. I run it locally on an xp machine in advanced. On a button click the file creates a batch file in the same folder as my foo file. Foo then run the batch file. At the end of the batch scripts I have a command that opens a url. Something like fmp://192.162.0.0/foo.fmp/?script=AllDone. This calls back to my foo file that launched the batch file and triggers a script that says all done. 

That all works fine.

 

I want to be able to be able to replicate the process with a runtime solution.

Runtime solutions don't have the networking abilities that FM has. So my guess is that when you are calling the "fmp://..." address, this is where it is failing again due to these limitations in the Runtimes.

  • Author

I kinda thought that might be the problem. Have any ideas how I could let a runtime solution know that an external process has finished?

Runtimes do not work on a server.

Technically, runtimes can be hosted by FileMaker Server, but they can't be clients of a hosted file. Nor can they be hosts in and of themselves.

Technically I am aware of that. This stuff has been discussed regularly over the years since Server was released in v3.

 

The point is that this OP was speaking from the client side of this issue. 

 

What would be accomplished by serving a runtime. You would still need a full version for everyone wanting to access it.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.