Custom tabs allow you to organize and expand the primary navigation bar, providing users with quick access to documents of a certain type, object records, or external sites. When you create a custom tab, Vault automatically adds it to the All tab collection, and the tab is available for Admins to add to custom tab collections.
Tab Types
There are different types of custom tabs:
- Object tabs display records for standard or custom Vault objects, for example, Products, Studies, Submissions, Manufacturers, Vendors. You can further configure an Object tab by selecting one or more Object Types to display only available records for specific object types. Filters and views only include object fields that apply to those object types. When users click Create within an object type tab, Vault automatically creates the new record using that type.
- Document Type tabs display documents with specific document types, for example, Promotional Pieces, Site Management, Clinical Summaries.
- Web tabs display external websites or integrate with external systems. You can configure the target URL to pass Vault, session, and user parameters to an external service.
- Menus are parent tabs under which you can create additional tabs, allowing you to group custom tabs, for example, a Documents menu tab with document type sub-tabs for Site Management and Regulatory.
Standard Vault Tabs
The Home, Library, Reports, Dashboards, and Loader tabs are standard and cannot be removed. However, you can reorder, rename, or control access to these as needed.
Accessing Custom Tab Configuration
Configuration options for both standard and custom tabs are located in Admin > Configuration > Tabs. To view or configure, you must have a security profile that grants the correct Admin: Tabs permissions.
How to Create Custom Tabs
To create a new custom tab:
- From the Tabs page, click Create.
- Under Tab Details, enter a Label to appear as the tab name in the navigation bar.
- The Name field auto-fills based on the label value, but is editable. This value is only visible via the API.
- Select a Tab Type and enter additional details specific to the type. For object tabs, select the object. For object type tabs, select the object followed by the object types. For document type tabs, select the document type, subtype, or classification. For web tabs, enter the target URL.
- Optional: For object tabs, select Create record in new page to allow users to create records on a new object record details page.
- Optional: For object tabs, select Create record in pop-up dialog to allow users to create new records from a pop-up dialog and remain on the tab after saving the record.
- Optional: For object tabs, select Prevent record creation to prevent users from creating new object records from this tab. We recommend enabling this if you’ve defined tab filters to prevent users from creating records that they may not be able to access in the filtered tab.
- Optional: For object and document type tabs, you can apply filters to only display object records or documents that meet defined criteria.
- Click Save.
Vault allows you to create a maximum of 60 custom tabs, in addition to the standard Home, Library, Reports, Dashboards, and Loader tabs. You can create up to 20 sub-tabs under each Menu tab on the navigation bar.
Defining Web Tabs
When defining web tabs, you must:
- Select or clear the Post Session credentials via Post Message checkbox. When this setting is enabled, Vault sends the user’s session ID using a technology called
postMessage
rather than as a URL parameter. As a best practice, we recommend selecting this checkbox as Post Message is a more secure way to send this information. If selected, you will need to adjust your application to receive information from Post Message. Learn more about this process in the Developer Portal. - Enter the target URL. If needed, you can use tokens (variables representing a value from the Vault) in the URL field. Click the token icon to search for and insert tokens.
Note that the website must allow embedding in iFrames to appear in a web tab.
Defining Tab Filters
You can configure filters to narrow the scope of the data in object and document type tabs. Most document and object fields are available as filters.
To create tab filters:
- Under Filter Tab, select a field from the drop-down.
- Choose an operator from the next drop-down that appears and then select a value, if needed. When available, you can click the binoculars icon to open a search dialog and find specific attributes.
- Add more filters by clicking the plus (+) icon to the right. You can delete a filter by clicking the minus (-) icon. Vault allows you to add five (5) filters to each tab. Contact Veeva Support to add additional filters.
Current User Filter
If you select a user-related field from the Filter Tab dropdown, such as Created By, Last Modified By, or Checked Out By, you can specify the Current User value. When a user visits this tab, they will only see results where they are referenced in the fields filtered by Current User.
For example, if a Product Owner field references users on the Product record, you could create a saved view that filters on the Current User option. Then each user who accesses that view would only see the Products they own.
How to Edit Custom Tabs
To edit a custom tab:
- From the Tabs page, click on the tab name in the list. If needed, click Expand all to see sub-tabs.
- In the tab’s details panel on the right, click Edit, make the necessary change, and click Save.
How to Change Tab Order
In addition to creating custom tabs, you can also change the order of existing (custom and standard) tabs within the navigation bar. To reorder tabs:
- From the Tabs page, click Reorder. Click Expand all to display sub-tabs.
- Select a tab and drag it to its new position.
- Click Save.
Tab Ordering Rules
The following rules dictate how you can reorder tabs and where you can create new tabs:
- You can only add a sub-tab beneath a tab with the Menu type.
- Moving a tab with sub-tabs moves both the menu tab and all sub-tabs.
- You can move a sub-tab from beneath one tab to another as long as the new menu tab has the Menu type.
- You can promote a sub-tab to a top-level tab.
- You can demote a tab to a sub-tab as long as the target menu tab has the Menu type.
Overflow Tabs
The top-level of the primary navigation bar can include up to twenty (20) tabs. The width of each tab depends on the length of the tab name. When all of the tabs cannot fit in the primary navigation bar, Vault automatically moves them to a menu represented by a chevron (down arrows) icon.
How to Delete Custom Tabs
To delete a custom tab:
- From the Tabs page, click on the tab name. Click Expand all to display sub-tabs.
- Select Delete from the Actions menu.
- Click Continue in the confirmation dialog.
You cannot delete standard tabs: Home, Library, Reports, Dashboards, and Loader.
Localization for Custom Tabs
If your Vault uses multiple languages, you can provide translations for the custom tab labels through the bulk translation tool.
Defining Related Object Filters in Advanced Search
You can configure object tabs to allow users to filter on related object records from the Advanced Search dialog. You can only add related object filters using MDL.
You can also add up to five (5) object reference fields as filters in the Advanced Search dialog on document tabs. See Configuring Object References in Advanced Search for detailed instructions. Note that these filters appear on all document tabs.
Controlling Access to Tabs
When you create a custom object tab, you give non-Admin users access to view object data records. Without a custom tab, these are only accessible through Business Admin > Objects. There are several ways that you can control view access to object data records:
- Permission Sets - Objects: You can add or remove the Read permission for all objects or for individual objects. Users who do not have this permission for the custom tab’s object cannot see the tab. For example, you can create a Studies tab and configure a set of users without read access for the Study object: those users cannot see the Studies tab. Add objects to permission sets from Admin > Users & Groups > Permission Sets > Objects.
- Permission Sets - Tabs: Users can only view tabs if they have the View permission for that tab. Only users with the View permission on All Tab Collections will see newly-created tab collections by default, and only users with the View permission on All tabs will see newly-created tabs by default. Add tabs to permission sets from Admin > Users & Groups > Permission Sets > Tabs.
- Custom Sharing Rules: If the object uses this feature, you can restrict Read access to individual object data records. When users open the custom object tab, they only see the records on which they have a role. Users who cannot see any individual records can still view the custom tab.
- Tab Status: When creating and editing tabs, you can set a tab’s status to Active or Inactive. Inactive tabs are hidden in both the navigation and search bar. Note that any links that lead to an inactive tab are still available and are not affected by a tab’s status.