How to show any (classic) SharePoint page in dialog mode?
Pretty easy – it’s handled via a url parameter!
Yeah, weirdly enough at least once something’s easy with SharePoint. Just grab the address of whatever page you’re on, and append a url parameter “IsDlg=1” in the end. So, an example!
Todd Klindt has a great SharePoint blog, which he also hosts on SharePoint (everyone loves the built-in CMS after all, right?) and this makes his site a great example here. His post about SharePoint 2013 build numbers, is located at an address like this:
If you want to see it without navigation or header, you can instead go to address like this:
What can you use it for?
Well, just like the parameter name implies, a good example would be to use this version of the page in a dialog window. See below for an example!
A full-blown SharePoint Publishing page should look ridiculous in a very small dialog window, but with ?IsDlg=1 it actually looks ok. Still not fabulous (for that, we’ve got Modern SharePoint!), but definitely usable and useful.
Latest posts by Antti K. Koskela (see all)
- How to fix an Azure Function (v2) failing with error “The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.” - June 19, 2018
- How to fix AADSTS50011: The reply address does not match the reply addresses configured… error - June 11, 2018
- How to log in to Microsoft’s websites (MSDN forums, Azure Portal, SharePoint Online) when you get a “Bad Request” error? - May 24, 2018
- A cautionary tale of relying on the automatic backups in SharePoint Online - May 21, 2018