SharePoint Quick Modal Dialog


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. var options = {
  2. url:'{SiteUrl}/_layouts/mypage.aspx?ID={ItemId}',
  3. Title: SomeTitle,
  4. dialogReturnValueCallback: function(dialogResult, returnValue)
  5. { SP.UI.ModalDialog.RefreshPage(SP.UI.DialogResult.OK)
  6. }}
  7. SP.UI.ModalDialog.showModalDialog(options)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.