Salesforce

ControlsPersistencyClear (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

ControlsPersistencyClear (Magic xpa 4.x)

Clears the persistency of the controls.

Syntax:

ControlsPersistencyClear(option, restore deleted controls)

Parameters:

option – Clear the changes made by the runtime Form Designer according to the number set in this parameter:

1 – Clear the persistency of all forms of the current application (excluding components).

2 – Clear the persistency of the current form without subforms.

restore deleted controls: When this parameter is set to True, the function will restore the controls that were deleted in the runtime Form Designer.

Returns:

Logical. The function returns True if the persistent state of the specified form exists and was deleted successfully or if it does not exist; otherwise, it returns False.

Note:

You will need to restart the program to see the changes.

Exceptions:

This function is not supported in Web Client tasks.

Platform specific:

This function is not supported for mobile devices.

See also:

Open Form Designer internal event

Controls Persistency Path environment setting

Since version: 3.1

Reference
Attachment 
Attachment