Vault Custom Pages allow developers to extend the Vault Platform by adding custom UI to Vault. Learn more about Custom Pages in the Developer Portal.
You can configure Custom Pages in your Vault from Admin > Configuration > Pages or by using MDL.
Once you’ve configured a Custom Page in Vault, you can display your page in a custom tab or create a page link that navigates to it when a user views, creates, edits, or copies an object record.
How to Configure Custom Pages
To create a Custom Page from the Vault UI, you must first write the client code and deploy a client code distribution to your Vault. Learn more in the Developer Portal.
You can optionally create and deploy Vault Java SDK server code to exchange Vault data with your Custom Page. Configuring the client and server code for the Custom Page links them and allows them to send data to each other.
To configure a new Custom Page in the Vault UI:
- Navigate to Admin > Configuration > Pages and click Create.
- Enter a Label for your Custom Page. This will be the HTML page title.
- Optional: Enter a Description for the page.
- Select a Distribution for this Custom Page. You must first upload a client code distribution to Vault containing the client code for your page. Learn more in the Developer Portal.
- Optional: Select a Vault Java SDK Page Controller for this Custom Page. You must first upload and deploy the custom server code to Vault containing this
Pagecontroller
. Learn more in the Developer Portal. - Select whether the Vault Header should be Visible or Hidden on the Custom Page.
- Click Save.
How to Configure Custom Page Tabs
You can create a custom tab to display a Custom Page from your Vault’s navigation bar.
To access a Custom Page from a tab, users must have View permission on both the tab and the Custom Page.
You can configure a tab using MDL or the Vault Admin UI. Learn more about configuring tabs to display Custom Pages in the Developer Portal.
To create a tab to display a Custom Page:
- Navigate to Admin > Configuration > Tabs and click Create.
- Enter a Label for the tab.
- Select the Tab Type of Page.
- Select the Page component to display in this tab.
- Optional: Add path parameters to the prepopulated URL. The URL includes the
{{Page.url_path_name}}
token that resolves to the Custom Page path. Learn more in the Developer Portal. - Click Save.
How to Configure Page Links to Custom Pages
You can create a page link to navigate users to your Custom Page when they perform an action such as viewing an object record.
To access a Custom Page from a page link, users must have View permission on the Custom Page. A user’s Object permissions determine access to the object record actions configured with a page link.
You can configure a page link using MDL or the Vault Admin UI. Learn more about configuring page links to Custom Pages in the Developer Portal.
To create a page link to a Custom Page:
- Navigate to Admin > Configuration > Page Links and click Create.
- Enter a Label for the page link.
- Optional: Enter a Description. This appears in the Page Links list view.
- Select the Page Mode to determine which user action is overridden to link to your Custom Page.
- Select the Object to which the page link will apply.
- Select the Link Type of Page.
- Select the Page component to navigate to.
- Optional: Add path parameters to the prepopulated URL. The URL includes the
{{Page.url_path_name}}
token that resolves to the Custom Page path. Learn more in the Developer Portal. - Click Validate. Vault displays an error if your URL is invalid.
- Click Save.