Save method: RCServiceConfig class
Syntax
Save()
Description
Use the Save method to save changes to this related content service configuration into the database. Invoke the Save method after updating properties for the service configuration or after invoking any of these methods: AddPageFieldMenu, AppendMapField, CloneForNew, CloneForNewFull, or DeleteMapField.
Parameters
None.
Returns
A boolean value: True if the save is successful, False otherwise.
Example
import PTCS_SERVICE:RCService;
import PTCS_SRVCONFIG:RCServiceConfig;
Component PTCS_SERVICE:RCService &rcService;
Component PTCS_SRVCONFIG:RCServiceConfig &rcServConfig;
&rcServConfig = &rcService.AddNewService("MY_SERVICE", 0);
&rcServConfig.IsCompService = "P";
&rcServConfig.PnlName = "USER_ROLES";
&rcServConfig.SeqNum = 0;
&rcServConfig.IsDefault = "N";
&rcServConfig.MapSecOptions = "P";
&rcServConfig.InstanceLbl = "My Service";
&rcServConfig.MenuOpt = "N";
&rcServConfig.MainMenuOpt = "N";
&rcServConfig.cInitMin = "N";
&rcServConfig.cEnable = "Y";
&rcServConfig.IsEmbeddable = "";
&rcServConfig.IsSingleUOW = "";
&rcServConfig.MasterTemplate = "";
&rcServConfig.AllowPersonalization = "Y";
Local boolean &bRet = &rcServConfig.Save();