Newer Version Available

This content describes an older version of this product. View Latest

LifeSciConfigRecord

Represents the configuration records used in Life Sciences Cloud.

Parent Type

This type extends the Metadata metadata type and inherits its fullName field.

File Suffix and Directory Location

LifeSciConfigRecord components have the suffix .lifeSciConfigRecord and are stored in the lifeSciConfigRecords folder.

Version

LifeSciConfigRecord components are available in API version 65.0 and later.

Fields

Field Name Description
assignments
Field Type
LifeSciConfigAssignment
Description
Profiles or users assigned to a configuration record.
fieldValue
Field Type
LifeSciConfigFieldValue
Description
The value when it represents a field’s name.
isActive
Field Type
Boolean
Description
Indicates whether the configuration record is active. Supported values are true or false.
isOrgLevel
Field Type
Boolean
Description
Indicates whether the configuration record is at the organization level. Supported values are true or false.
isProtected
Field Type
Boolean
Description
Indicates whether the configuration record is protected. Supported values are true or false.
lifeSciConfigCategory
Field Type
String
Description

Required

Category of the life science configuration.
masterLabel
Field Type
String
Description

Required

Main label for the configuration.
parentConfigRecord
Field Type
String
Description
Parent configuration record.
type
Field Type
String
Description
Type of configuration record.

LifeSciConfigAssignment

The following table describes the assignment for the LifeSciConfigAssignement component.

Field Name Description
assignedTo
Field Type
String
Description
User or profile to which the configuration is assigned.
assignmentLevel
Field Type
LifeSciAssignmentLevel
Description

Required

Level of assignment for the configuration. Supported values are Profile or User.

LifeSciConfigFieldValue Fields

The following table describes the fields for the LifeSciConfigFieldValue component.

Field Name Description
dataType
Field Type
LifeSciConfigFieldDataType
Description

Required

Data type of the field. Possible values are:
  • TEXT
  • LONGTEXT
  • NUMBER
  • BOOLEAN
  • INTEGER
  • DATE
  • DATETIME
  • PHONE
  • PICKLIST
  • URL
  • OBJECT
  • FIELD
  • RECORDREFERENCE
  • MULTIPICKLIST
dateTimeValue
Field Type
DateTime
Description
Date and time value of the field.
dateValue
Field Type
Date
Description
Date value of the field.
fieldName
Field Type
String
Description

Required

The value when it represents a field’s name.
fieldValue
Field Type
String
Description

Required

Value of the field.
hasBooleanValue
Field Type
Boolean
Description
Indicates whether the value is a Boolean.
integerValue
Field Type
Int
Description
Integer value of the field.
longTextValue
Field Type
String
Description
Long text value of the field.
numberValue
Field Type
Double
Description
Number value of the field.
objectValue
Field Type
String
Description
The value when it represents an object’s name.
phoneValue
Field Type
String
Description
Phone value of the field.
picklistValue
Field Type
String
Description
Picklist value of the field.
textValue
Field Type
String
Description
Text value of the field.
urlValue
Field Type
String
Description
URL value of the field.

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>