none
SharePoint Website not running on chrome browser when published RRS feed

  • Question

  • Hi All,

    I am new in SharePoint and want to send an Info Path form to the users via email. For this,i created the modal dialog to complete this operation.

    Everything is working fine local server.But On the production server, My modal dialog refresh after button click and nothing happen.

    Sometimes  modal dialog worked in IE browser. Please look into the matter.

    Thanks in Advance

    Wednesday, December 11, 2019 11:08 AM

All replies

  • Hi Kataria Deepak,

    Since everything is working fine in your local server, I think your modal dialog has no issues. This issue may be related with the browser settings in your production server.

    Please share your code about how to create the modal dialog.

    Besides, you could try to use browser F12 developer tools to debug this issue. You may find some clues there.

    Best regards,

    Emily Du

    Thursday, December 12, 2019 9:27 AM
  • Hi Kataria Deepak,

    I’m checking how the things are going on about this issue. Whether the post helps you?

    You can mark the post as answer if it helps.

    Best regards,

    Emily Du
    Tuesday, December 17, 2019 1:23 AM
  • Hi Kataria Deepak,

    Is there any progress on this issue?

    If you find any replies helpful to you, please remember to mark them as answers.

    It will help others who meet the similar question in this forum.

    Thank you for your understanding.

    Best regards,

    Emily Du

    Thursday, December 19, 2019 1:24 AM
  • Hi Emily Du,

    Please look into the code snippets for modal dialog

     <CommandUIHandler 
              Command="Invoke_RibbonCustomAction1ButtonRequest"
              CommandAction="javascript:SP.UI.ModalDialog.showModalDialog({ url: '/_layouts/15/report/EmailModal.aspx?{StandardTokens}&amp;SPListItemId={SelectedItemId}&amp;SPListId={SelectedListId}&amp;IsDlg=1'});"
              EnabledScript="javascript:
                function enableSendReport()
                {
                    var url = window.location.href;
                    if(!(url.indexOf('IIS') > -1 || url.indexOf('C') > -1))
                    {
                        $('#EmailGroupId').hide();
                    }                
                    var ctx = SP.ClientContext.get_current();
                    var items = SP.ListOperation.Selection.getSelectedItems(ctx);                
                    if(items.length == 1)
                    {
                        return true;
                    }
                    //return true;
                }
                enableSendReport();
              "/>
          </CommandUIHandlers>
    I also checked the developer tool to debug this issue.but nothing found. Modal dialog just refreshes on the chrome 

    Thanks 

    Kataria Deepak

    Thursday, December 19, 2019 9:53 AM