SetSubpageName method: DZConfig class

Syntax

SetSubpageName(SUBPAGE_NAME)

Description

Use the SetSubpageName method to configure the specified subpage to this drop zone. Subsequently, invoke the Save method to save the drop zone configuration.

Parameters

Parameter Description

SUBPAGE_NAME

Specifies the name of the subpage as a string value.

Returns

A boolean value: True if the specified subpage is valid; False otherwise.

Example

import PTCS_DROPZONE:*;

Local PTCS_DROPZONE:DZComponentConfig &dzCompConfig = create PTCS_DROPZONE:DZComponentConfig("EX_EXP_SHEET_FL", "EX_ADMIN_EXPENSE_FL", "GBL");
Local PTCS_DROPZONE:DZConfig &dzConfig = &dzCompConfig.AddConfig("EX_SHEET_HDR_FL", "2");

If &dzConfig.SetSubPageName("MY_SUBPAGE_SBF") Then
   Local boolean &bRet = &dzConfig.Save();
Else
   /* Indicate that the set operation failed. */
End-If;