Remote Server Script Calling/Emulating Perform Script on Server in FMP12

Oct 29, 2014

 

Charles at Delfs Engineering has come up with a way to call a script on FileMaker Server when the Perform Script on Server command is not available.

 

The Perform Script on Server command that was introduced in FMS 13 is very powerful but there is a serious limitation – it can only be called from a client running FileMaker Pro/Advanced 13. Many deployments have upgraded their servers but not their clients so this new command remains out of their reach. And of course there also deployments running FMS 12, in which case Perform Script on Server simply isn't an option.

At least not using native scripting. But you can call a script on the server using CWP and the Insert From URL script step. Charles provides more details and an example on his FileMaker blog.

There are other advantages as well:

  • allows for the remote server to be called without an active FMP connection to that server
  • connecting in this way does not count as an FMP connection for licensing purposes
  • you can, with caution, create multiple threads running on a server

 

Some things to keep in mind:

 

  • calling the remote script using the InsertFromURL script step will pause until the remote script completes
  • calling the remote script from a web viewer allows the foreground application to carry on without waiting for the remote script to complete
  • web publishing must be turned on and XML enabled at the server
  • any local context (layout, active fields etc.) are not carried through to the remote script – it will run like a brand new client session

 

 

Charles Delfs is an outstanding software engineer and FileMaker developer and he has come up with a great technique here.



Tags: FileMaker

Related Content

How To Recover/Reset Filemaker Server Admin Password

Unable to sign in to FileMaker Server admin console because of password issues? There is an easy way to reset it and get access to the FMS admin console.

Better Drag & Drop Sorting For FileMaker

Charles Delfs, who specializes in solving problems other FileMaker developers can't, has introduced the best version of FileMaker drag & drop sorting yet.

Cron Web Application/Services Development

A collaborator has founded Cron to provide web application/services & API development along with systems integration and DevOps release management.

Can't Access FMS Server Admin Console After 14v4 Upgrade

There is a known issue where upgrading from FileMaker Server 14v3 to FileMaker Server 14v4 on Mac OS X can break access to the server admin console.

Optimized FileMaker/Google Maps Integration

An optimized FileMaker/Google Maps integration with full-two way communication that also respects the performance impact and cost of page loads.

SOFA – Very Lucky To Be A Part Of It

User groups are an amazing resource and the Southern Ontario FileMaker Alliance (aka SOFA) in Toronto is one of the very best.

Recruiting at User Groups

User groups are one of the grand traditions of computing. They also provide an excellent recruiting opportunity.

Updates to the Dynamic Website Cache Primer/Loader

Four updates to the FileMaker-based dynamic website cache primer/loader project this week have made it a much more polished and useful tool.

Prime/Load Webserver Cache - FileMaker Project

A FileMaker solution designed to prime/pre-load the cache of a webserver(s) hosting a dynamic website by calling the pages in a list of xml sitemaps.

Running Apache Alongside FileMaker Server 13

If you are interested in the tricky configuration required to run FileMaker Server 13 and the standard Apache server on OS X Mavericks server this may help.

Category List


Tag List


Tag Cloud



Archive