GetMapField method: RCServiceConfig class
Syntax
GetMapField(n_index)
Description
Use the GetMapField method to return the mapped page field of the related content service configuration as a newly instantiated PTCS_SRVCONFIG:RCMapFields object.
Parameters
| Parameter | Description |
|---|---|
|
n_index |
Specifies the mapped page field by index as a number value. |
Returns
A PTCS_SRVCONFIG:RCMapFields object.
Example
import PTCS_SERVICE:RCService;
import PTCS_SRVCONFIG:RCServiceConfig;
import PTCS_SRVCONFIG:RCMapFields;
Component PTCS_SERVICE:RCService &pgRFFlRcService;
Component PTCS_SRVCONFIG:RCMapFields &rcMapFields;
&pgRFFlRcService = create PTCS_SERVICE:RCService("EMPLOYEE", "QE_NUI_RI_GBL");
Local PTCS_SRVCONFIG:RCServiceConfig &rcRFFlServConfig = &pgRFFlRcService.AddNewService("APPTEST_UTIL_SERVID", 569863);
&rcMapFields = &rcRFFlServConfig.GetMapField(1);
If (&rcMapFields <> Null) Then
/* do some processing */
End-If;
Related Topics