0

I've created a new custom edit form for a document library in SharePoint designer. "Launch forms in a dialog?" option in advanced settings is set to "yes", however, it does not affect anything. The form always shows as page. Out-of-box Edit form for a customized document type always pops up as a dialog, however, all other forms, including out-of-box forms for customized link to a document and document set, always appear as page. Please help. Is there a way to specify page appearance on the page definition?

1 Answers1

0
  1. For simpler way use window.Open

    var x = screen.width / 2 - 750 / 2;
    var y = screen.height / 2 - 600 / 2;
    <a class="evidences" title="To add evidences" onclick="window.open(\'' + url + '\', \'\', \'width=750,height=600,left=' + x + ',top=' + y + '\')"><div></div></a>
    
  2. Use SP Modal Dialog window

    Reference

Sabitha S
  • 339
  • 1
  • 6
  • Sabitha, thank you for your answer. I haven't specified that I wanted to open a dialog box using custom action defined through SharePoint Designer. I've ended up calling javascript:OpenPopUpPageWithTitle. – user2375527 Jul 24 '16 at 02:23