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: 10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5   11.6    Statistic    FMM    Blog  


Sets a trigger to call for the share.

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


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


Returns OK or error.


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

Example Databases

Blog Entries

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

SharingService.SetEmailSubject - SharingService.ShareItems

Feedback: Report problem or ask question.

MBS Xojo Plugins

Start Chat