GetConfigurationsForPage method: DZComponentConfig class

Syntax

GetConfigurationsForPage(PAGE_NAME)

Description

Use the GetConfigurationsForPage method to retrieve all existing drop zone information and configurations for the specified page as an array of DZConfig objects. This array includes drop zones that are configured with subpages and drop zones that are not yet configured. The array is available through the arrDZInfo property.

Parameters

Parameter Description

PAGE_NAME

Specifies a string value representing the name of a main page, a nested subpage, or a secondary page that contains a valid drop zone group box.

Note: To be valid, the page must be definitional linked to the component that is associated with this DZComponentConfig object.

Returns

None.

Example

import PTCS_DROPZONE:*;

Local PTCS_DROPZONE:DZComponentConfig &dzCompConfig = create PTCS_DROPZONE:DZComponentConfig("EX_EXP_SHEET_FL", "EX_ADMIN_EXPENSE_FL", "GBL");

&dzCompConfig.GetConfigurationsForPage("EX_SHEET_HDR_FL");
Local integer &i;
For &i = 1 To &dzConfig.arrDZInfo.Len
   /* Do something with the fetched drop zones. */
End-For;