Skip to main content
To be able to respond with more than just a true/false, but also an explanation. Such an explanation can be displayed on for instance a disabled “Place Order” button. In addition, an URL can be returned, which the GUI should navigate to/display if it is non-blank. The URL can be an SoProtocol or HTTP or HTTPS.

Constructors

NSPluginUrlResponse()

Initializes a new instance of the NSPluginUrlResponse class.

Methods

GetChanges()

Returns: CRMScript.NetServer.NSChangedData - Table name/record ID of data changed by this method, that the client may need to reload. Example:

GetErrorCode()

Returns: CRMScript.Global.String - An error code, if available. Example:

GetIsOk()

Returns: CRMScript.Global.Bool - Answer to the question / An indication if the operation went well. Example:

GetTechExplanation()

Returns: CRMScript.Global.String - Always in English. Example:

GetUrl()

Returns: CRMScript.Global.String - URL that the GUI should navigate to/open, if non-blank. The GUI cannot enforce any rules subsequent to opening the requested URL. Example:

GetUserExplanation()

Returns: CRMScript.Global.String - A localized explanation to the answer. Example:

SetChanges(NSChangedData)

Returns: CRMScript.Global.Void Example:

SetErrorCode(String)

Returns: CRMScript.Global.Void Example:

SetIsOk(Bool)

Returns: CRMScript.Global.Void Example:

SetTechExplanation(String)

Returns: CRMScript.Global.Void Example:

SetUrl(String)

Returns: CRMScript.Global.Void Example:

SetUserExplanation(String)

Returns: CRMScript.Global.Void Example: