GetConfigurationsForSubpage method: DZComponentConfig class

Syntax

GetConfigurationsForSubpage(SUBPAGE_NAME)

Description

Use the GetConfigurationsForSubpage method to retrieve all existing drop zone configurations for the component that have been configured with the specified subpage. The configurations are returned as an array of DZConfig objects available through the arrDZInfo property.

Note:

A given subpage can be configured to one or more drop zones within the same component.

Parameters

Parameter Description

SUBPAGE_NAME

Specifies the name of the subpage 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.GetConfigurationsForSubpage("MY_SUBPAGE_SBF");
Local integer &i;
For &i = 1 To &dzConfig.arrDZInfo.Len
   /* Do something with the fetched drop zones. */
End-For;