A PowerServerLabel system object is used to group and send multiple requests to the server in merge mode.
As suggested by the object name, this object and its functions only take effect when the application is deployed via the PowerServer project. This object and its functions will not be executed or modify how the application works in the traditional client/server environment (they will be ignored when the application is deployed via the PowerClient project or the Application project).
Note
PowerServerLabel (as well as HTTPClient, CrypterObject, CoderObject, CompressorObject, DotNetAssembly, JSONGenerator, JSONParser, JSONPackage, OAuthClient, PDF Builder objects, RESTClient, SMTPClient, PowerServerResult) does not support multi-threading.
PowerServerLabel property |
Datatype |
Description |
---|---|---|
MergeEnabled |
Boolean |
Enables the StartMerge and EndMerge functions. The default value is true. |
MaxMergeCalls |
Long |
The maximum number of merged requests between StartMerge and EndMerge. The default value is 100. |
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control. |
Results[] |
The result of the request merged operation. |
PowerServerLabel function |
Datatype returned |
Description |
---|---|---|
String |
Returns the name assigned to the user object. |
|
Integer |
Indicates the merge mode stops and requests will be submitted immediately. |
|
Integer |
Creates a reference to a context-specific instance of the specified service. |
|
PowerObject |
Returns a reference to the name of the parent object. |
|
Boolean |
Adds an event to the end of the message queue of the user object. |
|
Integer |
Indicates the merge mode starts. |
|
Integer |
Sends an event to the user object and executes the script associated with the event. |
|
Object |
Returns the type of the user object. |