Salesforce

ControlsPersistencyClear (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

ControlsPersistencyClear (Magic xpa 3.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.

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