Tuesday, April 28, 2015

Opening Form in a Popup from a Link

I know I figured this out more than once (who knows, there may be another version on THIS blog somewhere). That, and there are multiple ways to do this. It should also be noted that sometimes this is a bad idea and won't work right, so think about how it might not work and test it!

Take yer link:

http://yadayada.com/qa/_layouts/listform.aspx?PageType=8&ListId={F06E16DD-3D2B-4022-8E76-495BAAED3DDC}&RootFolder=

and transform it into:

javascript:OpenPopUpPage('http://yadayada.com/qa/_layouts/listform.aspx?PageType=8&ListId={F06E16DD-3D2B-4022-8E76-495BAAED3DDC}&RootFolder=&IsDlg=1')

Bingo!

No comments:

Post a Comment