AppendRCParam method: RCServiceDefinition class

Syntax

AppendRCParam(name)

Description

Use the AppendRCParam method to add a service URL parameter by name to the related content service definition.

Parameters

Parameter Description

name

Specifies the name of the service URL parameter as a string value.

Returns

A PTCS_SRVDEFN:RCParameter object.

Example

import PTCS_SRVDEFN:*;

Component PTCS_SRVDEFN:RCServiceDefinition &rcServDefn;

&rcServDefn = create PTCS_SRVDEFN:RCServiceDefinition("SERVICE_DEFN", "ENG");
Local string &rcParam1 = "APPTEST_PARAM1";
Local PTCS_SRVDEFN:RCParameter &rcParam1Ret = &rcServDefn.AppendRCParam(&rcParam1);
Local boolean &Ret = &rcServDefn.Save();