DZContent Methods
In this section, the DZContent class methods are presented in alphabetical order.
Syntax
DZContent(SUBPAGE_NAME)
Description
Use the DZContent constructor method to instantiate a DZContent object. After instantiating the object, use the GetConfiguration method to return all of the components system wide where this subpage has been configured.
Parameters
Parameter |
Description |
---|---|
SUBPAGE_NAME |
Specifies the name of the subpage as a string value. |
Returns
A DZContent object.
Example
import PTCS_DROPZONE:*;
Local PTCS_DROPZONE:DZContent &dzContent = create PTCS_DROPZONE:DZContent("MY_SUBPAGE_SBF");
Syntax
GetConfiguration()
Description
Use the GetConfiguration method to return an array of DZComponentConfig objects representing all of the components system wide where this subpage has been configured.
Parameters
None.
Returns
An array of DZComponentConfig objects.
Example
import PTCS_DROPZONE:*;
Local PTCS_DROPZONE:DZContent &dzContent = create PTCS_DROPZONE:DZContent("MY_SUBPAGE_SBF");
Local array of PTCS_DROPZONE:DZComponentConfig &arrDzCompConfig = &dzContent.GetConfiguration();
Local integer &i;
For &i = 1 To &arrDzCompConfig.Len
/* Do something with the fetched drop zone configurations. */
End-For;