LifeSciConfigRecord
Represents the configuration records used in Life Sciences Cloud.
This type extends the
metadata type and inherits its fullName field.
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.
LifeSciConfigRecord components are available in API version 65.0 and later.
- Field Type: LifeSciConfigAssignment
- Description: Profiles or users assigned to a configuration record.
- Field Type: LifeSciConfigFieldValue
- Description: The value when it represents a field’s name.
- Field Type: Boolean
- Description: Indicates whether the configuration record is active. Supported values are
trueorfalse.
- Field Type: Boolean
- Description: Indicates whether the configuration record is at the organization level. Supported values are
trueorfalse.
- Field Type: Boolean
- Description: Indicates whether the configuration record is protected. Supported values are
trueorfalse.
- Field Type: String
- Description: Required Category of the life science configuration.
- Field Type: String
- Description: Required Main label for the configuration.
- Field Type: String
- Description: Parent configuration record.
- Field Type: String
- Description: Type of configuration record.
The following table describes the assignment for the LifeSciConfigAssignement component.
-
Field Type: String
-
Description: User or profile to which the configuration is assigned.
For profile-level records, custom profiles use a
Custom-prefix, for example,Custom-Medical Sales Representative. Standard profiles don’t require a prefix.
-
Field Type: LifeSciAssignmentLevel
-
Description: Required
Level of assignment for the configuration. Supported values are Profile or User.
The following table describes the fields for the LifeSciConfigFieldValue component.
-
Field Type: LifeSciConfigFieldDataType
-
Description: Required
Data type of the field.
-
Possible values:
TEXTLONGTEXTNUMBERBOOLEANINTEGERDATEDATETIMEPHONEPICKLISTURLOBJECTFIELDRECORDREFERENCEMULTIPICKLIST
- Field Type: DateTime
- Description: Date and time value of the field.
- Field Type: Date
- Description: Date value of the field.
-
Field Type: String
-
Description: Required
The value when it represents a field’s name.
-
Field Type: String
-
Description: Required
Value of the field.
- Field Type: Boolean
- Description: Indicates whether the value is a Boolean.
- Field Type: Int
- Description: Integer value of the field.
- Field Type: String
- Description: Long text value of the field.
- Field Type: Double
- Description: Number value of the field.
- Field Type: String
- Description: The value when it represents an object’s name.
- Field Type: String
- Description: Phone value of the field.
- Field Type: String
- Description: Picklist value of the field.
- Field Type: String
- Description: Text value of the field.
- Field Type: String
- Description: URL value of the field.
The following is an example of a LifeSciConfigRecord component.
The following is an example package.xml that references the LifeSciConfigRecord component.