Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

ServerSocket.SetAllowedScripts

Sets a list of allowed script names.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
ServerSocket 3.4 Yes Yes Yes Yes Yes

MBS( "ServerSocket.SetAllowedScripts"; Scripts )

Parameters

Parameter Description Example value
Scripts Pass several texts here for the script names. "ServerSocket_PrintReceipt"

Result

Returns number of scripts.

Description

Sets a list of allowed script names.
If this command is used, the plugin will only launch scripts with the names in this list.
We recommend to prefix the script names for use with ServerSockets, so you don't risk of having two scripts with same name.

Examples

Allow two scripts:

MBS( "ServerSocket.SetAllowedScripts"; "ServerSocket_PrintReceipt¶ServerSocket_Notify" )

See also

Created 18th August 2014, last changed 18th August 2014


ServerSocket.SendQuery   -   ServerSocket.SetAllowedTypes

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins