We are using SharePoint 2013 for intranet portal. Not apps.
We have a document library with documents. On clicking the document we get it opened in a modal popup.
On the ribbon of this display form I want to place a clickable item on the ribbon such that, when we click on it, then I want to redirect to an application page with this doc id.
I would also like to know the number of possible ways to do this and the best practice.