LifeSciConfigRecord
Parent Type
File Suffix and Directory Location
LifeSciConfigRecord components have the suffix .lifeSciConfigRecord and are stored in the lifeSciConfigRecords folder.
For profile-level and user-level configuration records in hierarchical categories, the file name includes the category name and the assignment level.
- Standard profile: {Category}-{ProfileName}.lifeSciConfigRecord
- Custom profile: {Category}-Custom-{ProfileName}.lifeSciConfigRecord
- User-level: {Category}-User-{Username}.lifeSciConfigRecord
Characters that aren't valid in file names (/ \ : * ? " < > |) are encoded as _xNN, where NN is the hexadecimal character code. For example, / is encoded as _x2F.
During deploy, Salesforce resolves profile and user names in file names and assignment tags to the correct IDs on the target org. If a record for the same category and profile or user already exists, it's updated. Otherwise, a new record is created.
This naming convention doesn't apply to org-level configuration records.
Version
LifeSciConfigRecord components are available in API version 65.0 and later.
Fields
| Field Name | Description |
|---|---|
| assignments |
|
| fieldValue |
|
| isActive |
|
| isOrgLevel |
|
| isProtected |
|
| lifeSciConfigCategory |
|
| masterLabel |
|
| parentConfigRecord |
|
| type |
|
LifeSciConfigAssignment
The following table describes the assignment for the LifeSciConfigAssignement component.
LifeSciConfigFieldValue Fields
The following table describes the fields for the LifeSciConfigFieldValue component.
| Field Name | Description |
|---|---|
| dataType |
|
| dateTimeValue |
|
| dateValue |
|
| fieldName |
|
| fieldValue |
|
| hasBooleanValue |
|
| integerValue |
|
| longTextValue |
|
| numberValue |
|
| objectValue |
|
| phoneValue |
|
| picklistValue |
|
| textValue |
|
| urlValue |
|
Declarative Metadata Sample Definition
The following is an example of a LifeSciConfigRecord component.
1<?xml version="1.0" encoding="UTF-8"?>
2<LifeSciConfigRecord xmlns="http://soap.sforce.com/2006/04/metadata">
3 <isActive>false</isActive>
4 <isOrgLevel>true</isOrgLevel>
5 <lifeSciConfigCategory>ApplicationSettings</lifeSciConfigCategory>
6 <masterLabel>ApplicationSettings_OrgLevel</masterLabel>
7</LifeSciConfigRecord>The following is an example package.xml that references the LifeSciConfigRecord component.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>ApplicationSettings_OrgLevel</members>
5 <name>LifeSciConfigRecord</name>
6 </types>
7 <version>65.0</version>
8</Package>