Back to Blog
![]() This script will get a list of all clients and the files they have open. Set Variable [ $result Value:MBS("CURL.SetOptionHTTPHeader" $curl "Expect: " "Authorization: Bearer " & AdminAPI::Session MessageText=" & MBS( "Text.EncodeURLComponent" $message "UTF-8" ) & "&graceTime=30")] Set Variable [ $result Value:MBS("CURL.SetOptionURL" $curl " & AdminAPI::Server & "/fmi/admin/api/v2/clients/" & $clientID & "? Here is the master script with subscripts This following is run nightly in a Scheduled Server Script to Disconnect All Clients during the off-business hours.Īfter the script ran on the server at 6AM the next morning their were no user still connected. I will include this function at the end of this article. So I went to work creating new scripts and add a custom function named Before. This file comes with many cool scripts but not exactly what I was looking for. In their samples folder there is a file in the CURl/Webservices folder named CURL FMS Admin v18. We use the Monkey Bread Software (MBS) on both the client and server versions. Even after selecting the options in the file and the server. This returns json data, which we use in a small Python script to extract the url of the image. We were seeing connection times of 13 days ago and like. In this example we use curl to make a GET request on the Nasa API endpoint. Here’s the problem this does not always work. In the FileMaker server there is also an option to disconnect users when idle for xx minutes. In the FileMaker file set up there is an option to disconnect when Idle. By Robert Schaub with MBS Plugin and Custom Function originally written by Fabrice Nordman.
0 Comments
Read More
Leave a Reply. |