Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to redirect to a specific View of an Entity? but avoid duplicate navbar

Posted on by 141

I have used the following link to achieve this but first it wouldn't show navbar but I got it to working by adding  "_hc=false" at the end. 

My working URL is here: 

https://xxxxxxxxxxxx.crm4.dynamics.com/main.aspx?etn=account&pagetype=entitylist&viewid={2B4CFBE0-0AFA-E711-811A-E0071B6E7741}&navbar=on&_hc=false

However, when using/redirecting to URL its duplicating navbar: 

0250.navbar.PNG

Is there a fix to this? or Is there another way to achieve above?

Thanks.

*This post is locked for comments

  • Verified answer
    Qaqa Profile Picture
    Qaqa 141 on at
    RE: How to redirect to a specific View of an Entity? but avoid duplicate navbar

    The issue was solved by adding webresource in Dynamics App designer as a way of redirection to another view of a different or same entity.

    Here is the code:

    <!--Call Applicants-->
    <html>
    <head>
    <title></title>
    <meta charset="utf-8"></head>
    <body>
    <script type="text/javascript">
    function redirect()
    { 
    window.location.href = "xxxxxxxxxxxx.crm4.dynamics.com/main.aspx;viewid={12E2ACE3-0BFA-E711-811A-E0071B6E7741}&pagetype=entitylist&viewtype=1039";
    }
    window.onload=redirect();
    window.top.document.getElementById("crmRibbonManager").style.display = "none"; 
    </script>
    </body>


    Alternative way is to remove either _hc=false or web=true, which ever tag has been used to enforce
    navbar visibility on the first place because it duplicates navbar.

    Thanks.

  • Verified answer
    Radu Chiribelea Profile Picture
    Radu Chiribelea 6,667 on at
    RE: How to redirect to a specific View of an Entity? but avoid duplicate navbar

    I think it is best to reach out to MS Support for this

  • Qaqa Profile Picture
    Qaqa 141 on at
    RE: How to redirect to a specific View of an Entity? but avoid duplicate navbar

    Hello Radu,

    Our build is as follows:

    Version 1612 (8.2.2.160) (DB 8.2.2.160) online

    Is there a way to fix for this bug or another way achieve this requirement?

    Thanks.

  • Radu Chiribelea Profile Picture
    Radu Chiribelea 6,667 on at
    RE: How to redirect to a specific View of an Entity? but avoid duplicate navbar

    Hi Qaqa,

    This looks like known bug. What build are you on?

    Regards,

    Radu

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans