2

Is there any way how to insert "Version History" button from Ribbon to page or displayform.aspx in SP List?

Thanks a lot. Dominik

1

You can add this code:

`<a href="#" onclick="SP.UI.ModalDialog.showModalDialog( {url: '/_layouts/Versions.aspx?list={list guid}&ID={item id}&IsDlg=1'} ); return false;">version history</a>`

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.