ConfigureClassicPlusForWC function
Syntax
ConfigureClassicPlusForWC(portal_name,
CREF_name, enable_disable_value)
Description
Use the ConfigureClassicPlusForWC function to enable or disable the classic plus theme on a WorkCenter.
Parameters
| Parameter | Description |
|---|---|
|
portal_name |
Specifies a string value representing the portal name. |
|
CREF_name |
Specifies a string value representing the WorkCenter using its content reference ID (also referred to as its portal object name). |
|
enable_disable_value |
Specifies an integer value - 1 to enable classic plus theme; 0 to disable classic plus theme. |
Returns
A Boolean value. True if the classic plus theme is applied successfully to the WorkCenter; False otherwise.
Example
If ConfigureClassicPlusForWC("EMPLOYEE", "IB_MAP_WRKCNTR", 1) Then
MessageBox(%MsgStyle_OK, "", 0, 0, "Classic Plus is enabled for this WorkCenter");
Else
MessageBox(%MsgStyle_OK, "", 0, 0, "Error: ConfigureClassicPlusForWC() returned failure");
End-If;
Related Topics