Question

I was wondering if it is possible to have BOTH an html and url included in the options you pass to SP.UI.Dialog for the Attach File dialog. I can embed the link into a div but it shows the entire page unlike in the modal where it only shows the pertinent info...

I was hoping I could open up the SP version of the Attach File modal and then add in custom HTML to it versus creating my own modal and trying to embed the attach file page. Is this possible? If not, could I add it via jQuery possibly?

Was it helpful?

Solution

You can load the Dialog without the entire page using below URL

https://siteurl/_layouts/15/AttachFile.aspx?IsDlg=1
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top