Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

SharingService.SetTrigger

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

Parameters

Parameter Description Example
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

Example Databases

Blog Entries

This function checks for a license.

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


SharingService.SetEmailSubject - SharingService.ShareItems

💬 Ask a question or report a problem