Add a Navigation Link
- Open your LiveDoc document in edit mode
- Insert a Wiki content block where you want the link to appear
- Add the following Velocity snippet to the Wiki content window:
- Save the LiveDoc document
How the Link Works
The Velocity template constructs a URL that:- Uses the current document’s project ID via
$document.getProjectId() - Passes the document’s relative path via
$document.getRelativePath() - Appends the revision parameter if the LiveDoc is loaded from a specific revision
Customize the Link Appearance
You can modify the CSS styles in the snippet to match your organization’s branding:- Background color: Change
#fff4fbto your preferred color - Border color: Change
#860251to match your theme - Link text: Replace “Edit Risks with Nextedy RISKSHEET” with custom text
- Padding/spacing: Adjust
paddingandmarginvalues
Verification
After saving the LiveDoc:- The page should display a styled button-like link
- Click the link - RISKSHEET should open in the same browser tab
- The correct document and revision should be loaded
- If viewing a LiveDoc revision, verify the RISKSHEET also displays the corresponding revision
See Also
- Embed Risksheet in LiveDoc - Display RISKSHEET data inline within LiveDoc pages
- Work with Branched Documents - Access RISKSHEET from branched document contexts
- Open Nested Risksheets - Navigate between related RISKSHEET documents
Sources
Sources
KB Articles
- Open Risksheet from LiveDoc
- Render Risksheet into the LiveDoc page
- How to install Risksheet into existing project (Drive pilot)
- Open Risksheet from item on another Risksheet
OpenLiveDocCommand.tsRisksheetNavigationExtender.javaRiskSheetContextMenu.tsAppConfig.tsAppConfigParser.ts