Websydian v6.1 online documentationOnline documentation - WebsydianExpress v3.5

API: Callback.UpdateCallbackPoint

Scoped Name

APIServer.Callback.UpdateCallbackPoint

Interface

Field Variable ...as Description
CallbackPointID Input Input The unique identification of the callback point. To ensure that this is unique, it is recommended that you use the implementation name of the function you are using to implement the callback point as the CallbackPointID.

Mandatory.

CallbackPointName Input Input The name of the callback point. This is the name shown in lists/dropdowns etc.

Mandatory.

CallbackPointLocalGlobal Input Input Specifies whether the callback point is local or global. For local callback points, you add functions for each site, while any functions added to a global callback point will be used no matter which site is being accessed.

Valid values: Local (L), Global (G)

Mandatory.

CallbackPointURLForHelp Input Input By specifying a URL for e.g. a static HTML page, you can provide an explanation of the callback point, how it is used - what the interface of the callback functions must be etc.

This URL will be available as a link on the page showing the callback point in the administration interface.

Optional.

CallbackPointComment Input Input Any comment/explanation/textual description you want to provide for the callback point.

Optional.

CachingEnabled Input Input A yes/no field specifying whether the functions for the callback point should be cached. For future use - the caching is not enabled.
Location Input Input Specifies whether the function is placed on the webserver or on the database server.

Valid values are: Webserver (W), Server (S).

Mandatory.

NumberOfErrors Error Output If an error has occurred when validating the callback point, a number of error messages can be returned in the ErrorArray. This parameter contains information about how many texts the array contains.
ErrorMessage ErrorArray(10) Output An array of errors returned by the validation. The number of errors actually returned by the function is returned in the Error.NumberOfErrors parameter.

Description

The API updates information for an existing CallbackPoint. Please note that the functions will not be called unless you have created a function that implements the callback point.

Events

Universal events