IsNew property: RCServiceConfig class

Description

Use the IsNew property to return whether the instantiation of this service configuration is for a new related content service configuration. This property returns True only in the following circumstances:

  • After invoking the AddNewService method of the PTCS_SERVICE:RCService class with the instance_ID parameter set to 0 to return a PTCS_SRVCONFIG:RCServiceConfig object representing a new configuration for that component.

  • After invoking the CloneForNewFull method to return a PTCS_SRVCONFIG:RCServiceConfig object (with a system-generated new instance ID).

For all other instantiated objects and after a Save is invoked, IsNew returns False.

This property is read-only.

Example

Local boolean &isNew = &rcServConfig.IsNew;