Open Risksheet from LiveDoc

Modified on Mon, 04 Oct 2021 at 05:20 PM

It is convenient to allow users to open risksheet directly from live doc. This includes ability to open risksheet from revision, if document is loaded from revision.


This can be achieved by placing a simple wiki block to LiveDoc.



The simple snippet is here:

#set($revisionPar = "")
#if($document.getRevision())
     #set($revisionPar = "&revision=$document.getRevision()")
#end
<style>
.editRSPanel{
    font-weight: bold;
    background-color: #fff4fb;
    padding: 10px;
    margin: 20px;
    border-radius: 8px;
    border: 2px solid #860251;
}
</style>
<div class='editRSPanel'>
    <a target="_top" href="/polarion/#/project/$document.getProjectId()/risksheet?document=$document.getRelativePath()$revisionPar">Edit Risks with Nextedy RISKSHEET</a>
</div>

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article