Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm trying to get the url of the 'view in browser' link that appears in the context menu for a document in the document library.

I have a custom command on the menu that I have created which calls a jscript function and I want to pass the url to it.

Anyone know how to do this?

Thanks.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.