You are here:
Deep Linking Format for Life Sciences
Use the predefined URL scheme for the Life Sciences Cloud mobile app on iOS.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise and Unlimited Editions with Life Sciences Cloud, Life Sciences Cloud for Customer Engagement Add-on license, and the Life Sciences Customer Engagement managed package. |
URL Scheme Name
The Life Sciences Cloud mobile app supports this value for scheme name in deep link URLs.
lsc://deeplink/lightningCommon Parameters
Here are some of the common parameters that the Life Sciences deep link URL scheme format supports.
sObject—indicates the API name of a Salesforce object. This value is case-sensitive. For example, use Account, not account.id—the unique single instance of a Salesforce object. ID lengths of 15 and 18 characters are supported.actionName—an action that’s available on the specified object’s record detail page.field_api_name—indicates the API name of a Salesforce field.
To use deep links, users must have the correct permissions for that action, record, or area of the app.
View a Record by Using a Salesforce ID
This URL scheme goes to the object tab and then opens a record detail page by using a Salesforce record ID.
lsc://deeplink/lightning/r/{sObject}/{id}/viewThis example uses a Salesforce ID to go to a healthcare provider record detail page.
lsc://deeplink/lightning/r/healthcareprovider/001XXXXXXXXXXXXIAM/viewView a Record by Using an External ID
This URL scheme goes to the object tab and then opens a record detail page by using an external ID.
lsc://deeplink/lightning/r/{sObject}/{external_id_field_api_name}:::value/viewThis example uses an external ID to go to a healthcare provider record detail page.
lsc://deeplink/lightning/r/healthcareprovider/sourcesystemidentifier:::1234/viewCreate a Record
This URL scheme creates a record without populating fields.
lsc://deeplink/lightning/o/{sObject}/newThis example creates an inquiry record without populating any fields.
lsc://deeplink/lightning/o/Inquiry/newCreate a Record and Populate Fields
This URL scheme creates a record and populates fields.
lsc://deeplink/lightning/o/{sObject}/new?{field_api_name}=value&{field_api_name}=value&{field_api_name}=valueThis URL scheme creates a record with a specific record type and populates fields.
lsc://deeplink/lightning/o/{sObject}/new?RecordTypeId={record_type_id}&{field_api_name}=value&{field_api_name}=valueThese field types are supported as URL parameters. To pass more than one parameter, use an ampersand (&) between them.
- Checkbox
- Date
- DateTime
- Lookup
- Number
- Picklist
- Picklist (Multiselect)
- Reference
- Text
- Text Area
- Text Area (Rich)
For field values with spaces or special characters, use these encoded values.
| Character | Encoded Value |
|---|---|
| Space | %20 |
| & | %26 |
| = | %3D |
| ? | %3F |
This example creates an inquiry record and populates some fields.
lsc://deeplink/lightning/o/Inquiry/new?Type=Medical%20Inquiry&IsSignatureCopyRequested=trueCreate or Edit a Record and Its Related Record
This URL scheme upserts a record by creating or editing a record and its related record together. You can specify records by using either Salesforce IDs or external IDs. Format the record data in JSON format, and then convert it to Base64 format.
lsc://deeplink/lightning/o/{sObject}/upsert?referenceId={id}&data=JSONConvertedToBase64FormatGo to an Object List
Use this URL scheme to go to an object list.
lsc://deeplink/lightning/o/{sObject}/listThis example goes to the list of accounts.
lsc://deeplink/lightning/o/Account/listGo to a Lightning Page
Use this URL scheme to go to a Lightning page.
lsc://deeplink/lightning/page/{page_name}This example goes to the home page.
lsc://deeplink/lightning/page/HomeGo to a Lightning Component
Use this URL scheme to go to a Lightning component within a tab.
lsc://deeplink/lightning/n/{component_name}This example goes to the AccountFilter Lightning component.
lsc://deeplink/lightning/n/lsc4ce__AccountFilterInitiate an Action for an Account
This URL scheme initiates an action for a specific account on the record detail page.
lsc://deeplink/lightning/r/{sObject}/{id}/action/{actionName}This example opens a survey for the specified account.
lsc://deeplink/lightning/r/account/001XXXXXXXXXXXXIAC/action/lsc4ce__SurveyStart an Email
This URL scheme starts an email by specifying one or more email templates and account IDs.
lsc://deeplink/lightning/cmp/lsc4ce:WebEmail?lifesciemailtemplate-id={id}&account-id={id}&account-id={id}This example opens the Send Email window with the specified template selected and the selected account as the recipient.
lsc://deeplink/lightning/cmp/lsc4ce:WebEmail?lifesciemailtemplate-id=1LLXXXXXXXXXXXX4A2&account-id=001XXXXXXXXXXXXYAI
