web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

prompt the message in a pop-up window when the user loads the site

(0) ShareShare
ReportReport
Posted on by

If user tries to open CRM through google chrome or any other browser, system should prompt the following message in a pop-up window

“Please access CRM through Internet Explorer”

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at
    RE: prompt the message in a pop-up window when the user loads the site

    Hi Niji,

    One possible option could be to have a ribbon button on home page where you can call your script for enable/disable rule and there check if browser is other than IE prompt user this message.

    Check this post for adding button: https://www.magnetismsolutions.com/blog/11-11-04/Adding_a_Button_to_Dynamics_CRM_2011_Ribbon_across_all_Entities.aspx

    Hope it will help you.

    Thanks

  • Community Member Profile Picture
    on at
    RE: prompt the message in a pop-up window when the user loads the site

    Thanks Himbap, but the thing is i don't require a button and its event to trigger the Java script function.

    On page load itself i have to show this error message.

  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at
    RE: prompt the message in a pop-up window when the user loads the site

    Hi,

    There is no direct way of doing this, above option which I have suggested, is the supported workaround for your requirement.

    If you don't want to go this way you can look for unsupported options (which is not recommended) to modify CRM webpage and add your script there to execute on load.

    Thanks

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: prompt the message in a pop-up window when the user loads the site

    Hi Niji,

    Here is another suggestion-

    1. Create a custom HTML web resource which has 2 sections one display some welcome screen and other displays the unsupported browser message.

    2. Add a new sitemap subarea for this web resource and make this as default landing page for all the users.

    3. Within this web resource, add the JavaScript to detect the browser version.

    4. If browser is IE then show the welcome message otherwise show the unsupported browser message. You can also show an alter if required.

    So with this implementation, when users will login, they will first landed to this HTML page where the browser compatibility will will be checked and based on that you can show the message.

    The only problem is this it will not restrict the user for using the CRM in Chrome or other browsers. It will only detect and display a message.

    I hope this helps. If my posts answer your questions, please mark it as helpful/ verified.

  • Suggested answer
    Syed Ibrahim Profile Picture
    6,257 on at
    RE: prompt the message in a pop-up window when the user loads the site

    hi Niji,

    You can follow Mr.Ravi's approach. Below link might be useful how to create web resources in Sitemap step by step.

    community.dynamics.com/.../how-to-embed-websites-using-iframes-from-the-dynamics-365-sitemap

    Hope this helps.

  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at
    RE: prompt the message in a pop-up window when the user loads the site

    Since you have CRM On-Premise, there are a few more options that you can experiment with using IIS.

    Basically create an HTML page that checks the browser the user is using (useragent), and if using IE, redirect to the CRM home page, if not show the message.

    The first way (most likely unsupported, but it is CRM 2011), is add a default html page to your CRM web site, and set that as the default page, and the redirect page. If IE, navigate to CRM aspx page, if not show message.

    The second page is create another web site in IIS, which will become your users CRM Home page (using group policy), and that will redirect to the actual CRM web site.

    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans