GetConfigurationsForPagefield method: DZComponentConfig class

Syntax

GetConfigurationsForPagefield(PAGE_NAME, FldTabOrder)

Description

Use the GetConfigurationsForPagefield method to retrieve any existing drop zone information and configuration for the specified page and page field as an array of DZConfig objects. For a page field, this array includes one element, because only one drop zone can be associated with a page field. 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 containing the valid drop zone group box must be definitional linked to the component that is associated with this DZComponentConfig object.

FldTabOrder

Specifies the page field tab order for the group box as a string value.

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.GetConfigurationsForPagefield("EX_SHEET_HDR_FL", "2");
Local integer &i;
For &i = 1 To &dzConfig.arrDZInfo.Len
   /* Do something with the fetched drop zone. */
End-For;