Accessing System Settings (User Settings)

The following example will demonstrate how to access and modify the Portals Slogan Text.

1 In a C# project in any desired IDE, add PortalSettings portalSettings = ModuleSettingsAccessor.GetSettings(); 

2 Add portalSettings.SloganText and modify the setting.

3 Use .SaveSettings() to save values of each modified setting off the ModuleSettingsAccessor.

Below is an example of how to set and save the Slogan Text:

C#

PortalSettings portalSettings = ModuleSettingsAccessor.GetSettings();
 portalSettings.SloganText = "Our Company Slogan";
ModuleSettingsAccessor<portalsettings>.SaveSettings();

List Of Platform Settings Objects

C#

 DecisionsFramework.ServiceLayer.Services.Accounts.ActiveDirectory.ActiveDirectorySettings
  DecisionsFramework.ServiceLayer.Services.AmazonCloud.EC2.AmazonEC2PortalSettings
  DecisionsFramework.ServiceLayer.Services.Assignments.AssignmentSettings
  DecisionsFramework.ServiceLayer.Services.Statistics.ClientStatisticsSettings
  DecisionsFramework.ServiceLayer.Services.Portal.ClusteringSettings
  DecisionsFramework.ServiceLayer.Services.CMDB.CMDBSettings
  DecisionsFramework.ServiceLayer.Services.CMS.Content.CMSModuleSettings
  DecisionsFramework.ServiceLayer.Services.Comment.CommentModuleSettings
  DecisionsFramework.ServiceLayer.Services.Organization.ContactInfoSettings
  DecisionsFramework.ServiceLayer.CustomPermissionsSetting
  DecisionsFramework.ServiceLayer.Services.AuditService.DefaultAuditSettings
  DecisionsFramework.Design.DesignerSettings
  DecisionsFramework.ServiceLayer.Services.Document.DocumentModuleSettings
  DecisionsFramework.ServiceLayer.Services.Facebook.FacebookSettings
  Decisions.TaskTracking.Service.CMDB.Configuration_Items.HardwareRequestSettings
  DecisionsFramework.ServiceLayer.Services.Portal.HTMLPortalSettings
  DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSettings
  Decisions.TaskTracking.Service.CMDB.Configuration_Items.MobileRequestSettings
  DecisionsFramework.ServiceLayer.Services.Portal.PortalSettings
  DecisionsFramework.ServiceLayer.Services.Tagging.TagSettings
  Decisions.Telephony.Service.TelephonySettings
  Decisions.TestManager.Service.TestManagerSettings

from: https://documentation.decisions.com/v9/docs/accessing-system-settings-user-settings

Sign In or Register to comment.