wkcc__CommandCenterMapping__c

Stores the mappings for all tabs in the Command Center Settings app, which you access from App Launcher. This object is available in orgs that have Workplace Command Center installed.

warning: Update records associated with this object only with the tabs in the Command Center Settings app, which you access from App Launcher. The app provides a UI to create and modify mappings. Don’t use the Command Center Mappings tab directly.

A single mapping in a Command Center Settings app tab corresponds to multiple records in wkcc__CommandCenterMapping__c, based on the number of columns in the mapping. The multiple records are correlated with the Name field; each record with the same Name link together to form one mapping. This dynamic method of storing different types of mappings in the same object makes it easier to add other types of mappings in the future.

For example, the Wellness Status Mapping tab (in the Command Center Settings app) allows you to create mappings between crisis assessment values and wellness status values. Let’s say it contains these mappings.

CRISIS ASSESSMENT WELLNESS STATUS
Declined Remote Work Only
COVID-19 Symptoms or Exposed Unavailable
COVID-19 No Symptoms Available to Work

Because the Wellness Status Mapping has two columns, each mapping corresponds to two records in the wkcc__CommandCenterMapping__c object. The Name field is the same for each record. The wkcc__MappedValue__c field contains the actual values or a reference to an object ID. The wkcc_Mapping*__c fields are used for internal processing, such as populating dropdown lists with picklists values. Here’s an example of two wkcc__CommandCenterMapping__c records associated with the Declined mapping; only relevant fields of the object are shown.

Name wkcc__MappedValue__c wkcc__MappingKey__c wkcc__MappingType__c
WellnessStatusMap3 Declined WSAssessment WellnessStatusMap
WellnessStatusMap3 Remote Work Only WSCurrentWellnessStatus WellnessStatusMap

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

Fields

Field Type Properties Description
LastReferencedDate dateTime Filter, Nillable, Sort The timestamp for when the current user last viewed a record related to this record.
LastViewedDate dateTime Filter, Nillable, Sort The timestamp for when the current user last viewed this record. A null value can mean that the record was only referenced and not viewed.
Name string Create, Defaulted on create, Filter, Group, idLookup, Nillable, Sort, Update The record name. This field groups multiple records into a single mapping of a tab in the Command Center Settings app.
OwnerId reference Create, Defaulted on create, Filter, Group, Sort, Update The ID of the user who currently owns this record. Default value is the user logged in to the API to perform the create operation.
wkcc__MappedValueName__c string Create, Filter, Group, Nillable, Sort, Update If the wkcc__MappedValue__c field contains an object ID, this field contains the name associated with the object. Otherwise, this field is blank.
wkcc__MappedValue__c string Create, Filter, Group, Nillable, Sort, Update The value of one of the columns of the mapping.
wkcc__MappingKey__c string Create, Filter, Group, Nillable, Sort, Update Key for looking up values in an internal custom metadata type.
wkcc__MappingTypeId__c string Create, Filter, Group, Nillable, Sort, Update ID for a value in an internal custom metadata type.
wkcc__MappingType__c string Create, Filter, Group, Nillable, Sort, Update Value from an internal custom metadata type.

See Also