Veeva Vault
If the application uses Veeva Vault as a document repository, it must be configured properly to ensure compatibility with Medical Information Cloud Inquiry Management.
Configuration
To configure Veeva Vault as a content management system for Medical Information Cloud Inquiry Management, follow the steps outlined in the sections below:
Delegated authentication enables Salesforce users to be able to access Vault documents directly in the Salesforce user interface. To configure delegated authentication, log into Vault, and complete these steps:
Create a new Security Policy for your Salesforce Organization.
Create a corresponding Vault user for every Salesforce user that needs to search Veeva Vault.
Note
The Vault User must log into Vault at least once before searching Vault from within Medical Information Cloud Inquiry Management.
Note
If the user’s Vault password expires, the user will not be able to search Vault until the user resets the Vault password.
For more information, visit About Delegated Authentication and Vault Developer Portal.
To specify the URL for accessing Vault pages and documents via delegated authentication:
Navigate to the Vault URLs custom setting records list.
In the Quick Find box in Setup, search for and select Custom Setting.
In the Vault URLs row, click Manage.
Click New.
Enter information. Fields include:
External Viewer URL - the full URL for the External Viewer. This could be the Vault URL or a URL for a custom page with the viewer embedded in it. For the Vault URL, enter
https://<vault_domain>.veevavault.com/ui/approved_viewer
and replace<vault_domain>
with the domain of your Vault instance.Vault Domain - the Vault domain to connect to. Do not include
https://
or.veevavault.com
. For example, if your Vault is athttps://myvault.veevavault.com
, entermyvault
.
Click Save.
To register your Vault instance as a remote site:
In the Quick Find box in Setup, search for and select Remote Site Settings.
Click New.
Enter the information below.
Remote Site Name - enter
Veeva_Vault
.Remote Site URL - enter
https://<vault_domain>.veevavault.com
and replace<vault_domain>
with the domain of your Vault instance.Disable Protocol Security - leave the box unchecked. The value must be false.
Active - check the box. The value must be true.
Click Save.
To specify your Vault instance as a trusted site:
In the Quick Find box in Setup, search for and select CSP Trusted Sites.
Click New.
Enter information. Values for select fields are listed below.
Trusted Site URL - enter
https://<vault_domain>.veevavault.com
and replace<vault_domain>
with the domain of your Vault instance.Context - select
All
.In the CSP Directives section, check every box. All CPS Directives fields must have a value of true.
Click Save.
To specify a callout endpoint and its required authentication parameters:
Note
Only perform this step if you are using External Viewer links.
In the Quick Find box in Setup, search for and select Named Credentials.
Click New Legacy.
Enter information. Values for select fields are listed below.
URL - enter
https://<vault_domain>.veevavault.com
and replace<vault_domain>
with the domain of your Vault instance.Identity Type - select
Named Principal
.Authentication Protocol - select
Password Authentication
.Username and Password - the credentials for the single integration Vault user that is used to generate viewer links. The Username and Password fields only display after you select
Password Authentication
for the Authentication Protocol field.Note
In Vault, the Public Content Distribution add-on feature must be enabled, and the single integration Vault user must have the license type and the security profile labeled
View-Based User
. Visit Vault's How to Set Up Public Content Distribution documentation.Generate Authorization Header - uncheck the box. The value must be false.
Allow Merge Fields in HTTP Header - check the box. The value must be true.
Allow Merge Fields in HTTP Body - check the box. The value must be true.
Click Save.
To set up a CMS Connection to hold connection information and group field and value mappings by connection:
Navigate to the CMS Connection custom metadata records list.
In the Quick Find box in Setup, search for and select Custom Metadata Types.
In the CMS Connection row, click Manage Records.
Click New to create a new record or Edit to modify an existing record.
Enter data. For field descriptions, visit CMS Connection.
Click Save.
To map Interaction Document fields to those in the content management system:
Navigate to the CMS Field Mapping custom metadata records list.
In the Quick Find box in Setup, search for and select Custom Metadata Types.
In the CMS Field Mapping row, click Manage Records.
Click New to create a new record or Edit to modify an existing record. Each field that requires mapping needs its own record.
Enter data. For field descriptions, visit CMS Field Mapping.
Note
MED_Request_Document__c.MED_Name__c
must be mapped to ensure users have access to the appropriate documents.Click Save.
If Medical Information Cloud Inquiry Management and the content management system have different data values (e.g. different picklist values), use the CMS Value Mapping custom metadata to specify which data values to display in the Medical Information Cloud Inquiry Management user interface. To create or edit a CMS Value Mapping record:
Navigate to the CMS Value Mapping custom metadata records list.
In the Quick Find box in Setup, search for and select Custom Metadata Types.
In the CMS Value Mapping row, click Manage Records.
Click New to create a new record or Edit to modify an existing record.
Enter data. For field descriptions, visit CMS Value Mappings.
Click Save.
To specify that Medical Information Cloud Inquiry Management content searches should retrieve files from Veeva Vault:
Navigate to the Local Setting custom metadata records list.
In the Quick Find box in Setup, search for and select Custom Metadata Types.
In the Local Setting row, click Manage Records.
Click Edit to modify an existing record.
Select a picklist value for CMS Sources. Relevant picklist values include:
Vault (Custom) - only Veeva Vault files are retrieved when a Medical Information Cloud Inquiry Management content search is executed.
MIC & Vault - both Medical Information Cloud Content Management and Veeva Vault files are retrieved when a Medical Information Cloud Inquiry Management content search is executed. Medical Information Cloud Content Management search results display first followed by Veeva Vault search results.
Vault & MIC - both Veeva Vault and Medical Information Cloud Content Management files are retrieved when a Medical Information Cloud Inquiry Management content search is executed. Veeva Vault search results display first followed by Medical Information Cloud Content Management search results.
Click Save.
Picklist translation considerations
Due to limitations with the Vault API, translating Vault picklist values can sometimes cause issues. Here is a list of the known limitations when translating values inside Vault:
Search: when searching on a Vault picklist, Salesforce should use/pass the picklist base value.
Changing the base translation of picklists does not change the base value for existing documents and causes them to have a “different” value than new documents as far as the API is concerned. This means that one or the other won’t show in search so changing base values should be avoided.
The following fields must have CMS Value Mapping of all value translations for all languages that users will use in Vault back to the single expected value in Medical Information Cloud Inquiry Management:
Language
Subtype
Delivery Method
Custom labels
The labels listed in Table 159, “Veeva Vault custom labels” can be configured within the Salesforce translation workbench to change display text values for Veeva Vault error messages. For example, if you want the fields listed in an error message to appear in a user's language, you can reference a custom label.
# | Label Name | Description |
---|---|---|
1 | MED_Access_Privileges_Vault_Error | Used to return an error message when the user has not been granted access to Vault. |
2 | MED_Invalid_Session_Vault_Error | Used to return an error message when the system is unable to log into Vault due to an Invalid Session. |
3 | MED_User_Locked_Out_Vault_Error | Error displayed with the user has been locked out of Vault. |
4 | MED_Vault_Inactive_User_Error | Error displayed when the Vault user is inactive. |