Description
Configures the settings for the pictures loaded via URL in the PowerClient- or PowerServer-deployed applications.
Syntax
Integer CloudAppSet (string n, string v)
Argument |
Description |
---|---|
n |
The name of the setting that is case insensitive. The setting can be:
|
v |
The value of the setting to be set.
|
Return value
Integer.
Returns 1 if the function succeeds and the following negative value if an error occurs.
-1 The application is not a PowerClient- or PowerServer-deployed app.
-2 The name of the setting does not exist or is invalid.
-3 The value of the setting is invalid. The value that was successfully set last time or the default value will be used instead.
Examples
CloudAppSet ("picturecachepath", "/picturecache"); CloudAppSet ("clearpicturecacheonclose", "true"); CloudAppSet ("checkpictureforupdate", "true");
See also