wkcc__CmdCtrLogSettings__mdt

Custom metadata type that contains a record named Default for configuring logging in Workplace Command Center and Wellness Check. You can enable or disable logging and configure whether, and for how long, Salesforce keeps old log messages. The wkcc__CmdCtrLog__c custom object stores the log messages. This custom metadata type is available in orgs that have Workplace Command Center installed.

describeLayout(), describeSObjects(), query(), retrieve()

FieldTypePropertiesDescription
wkcc__DoesDelPersistentData__cbooleanDefaulted on create, Filter, Group, SortIf true, Work.com deletes old log messages from the wkcc__CmdCtrLog__c custom object until it reaches the value of the wkcc__MaxPersistentDataRows__c field. For example, let’s say wkcc__MaxPersistentDataRows__cequals 2000 and the number of log messages in the custom object wkcc__CmdCtrLog__c exceeds 2000. In this case, Work.com deletes old log messages until the number is back down to 2000. Default value is false.
wkcc__EnableLogging__cbooleanDefaulted on create, Filter, Group, SortIf true, logging is enabled for Workplace Command Center and Wellness Employee Check. Default value is true.
wkcc__MaxPersistentDataRows__cdoubleFilter, Nillable, SortWhen the wkcc__DoesDelPersistentData__c field is set to true, this field determines the maximum number of log messages to keep in the wkcc__CmdCtrLog__c custom object.

See Also