Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples
Videos
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  

SharingService.SetTrigger

Sets a trigger to call for the share.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SharingService 10.3 Yes No No No No
MBS( "SharingService.SetTrigger"; Filename; ScriptName )   More

Parameters

Parameter Description Example value
Filename The database file name where the script is located. "test.fmp12"
ScriptName The script name. "MyScript"

Result

Returns OK or error.

Description

Sets a trigger to call for the share.
This is called once after you call SharingService.ShareItems to report the result, but only if SharingService.ShareItems returns OK.
You get a script parameter with a JSON containing a status key with the status, either success, cancel or failed. We include error dictionary with details on a failure and service key with details on the service.

See also

Blog Entries

Created 27th June 2020, last changed 27th June 2020


SharingService.SetEmailSubject   -   SharingService.ShareItems

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins