PcEventType property: RCServiceDefinition class
Description
When the related content service definition type is PeopleSoft script (ServiceUrlType = USCR), use the PcEventType property to set or return a string value representing the name of the PeopleCode event storing the iScript. Typically, iScripts are stored in the FieldFormula event.
Note:
The full path to the iScript function is constructed from four properties: PortalRecName, FieldName, PcEventType, and PcFunctionName.
This property is read/write.
Example
&rcServDefn.PortalRecName = "WEBLIB_MYREC";
&rcServDefn.FieldName = "ISCRIPT1";
&rcServDefn.PcEventType = "FieldFormula";
&rcServDefn.PcFunctionName = "IScript_MyFunction";