Are You Unable To Select User In Sitecore Access Viewer?

My Sitecore Buddies, how is your Sitecore Journey going on? Ready for today’s journey? Let’s begin! If you are developer then FF must be your favorite browser. But if you are NOT able to select user/role under Access Viewer in Sitecore, then this post will help you to fix it. Scenario: 1) Click Select User in the Access Viewer under Security menu 2) Select Role/User 3) Click OK 4) Neither Role/User is selected or shown in  Recent list

If you are facing such issue, then try to check if any Error under Console option under firebug in your Firefox browser. If you come across window.top is nullerror then it’s a bug (accepted by Sitecore Support) which can be fixed easily.

Solution:

1. Open the sitecoreshellControlsJqueryModalDialogs.html file.

2. Replace the following line:

    dialogRecord.contentIframe.remove();

    With these lines:

     if (top._scDialogs.length == 0 && navigator.userAgent.indexOf(“Firefox”) != -1) 

     {

          $(dialogRecord.contentIframe.id).remove();

     }

     else 

     {

         dialogRecord.contentIframe.remove();

      }

3. Save the changes and clear your browser cache.

Thank you Mike Chafin for sharing this fix on Sitecore forum. This will help lots of our Sitecore friends and will redirect Sitecore support traffic to Sitecore Journey 🙂 Keep your Sitecore Journey going on!!!

Leave a Reply