Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Associated Views button Missing on Subgrid

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi There,

I am encountering an issue with a known problem with Associated Views. This is regarding the 'See all records associated with this view' button on a leads subgrid in the Campaign entity. After creating this subgrid I cannot see this records button, however I do have the ability to add a lead from the subview.

I have read that this is a common issue and it has to do with the relationships between the two entities.

Here is the Campaign View with no Records button:

8585.NoAssButton.png

I went into the relationships section in customization's in order to check if a relationship existed and there are two: a system and a custom relationship.

LeadsCampaignRelationshipsResized.png

I believe the second relationship was created as the leads were not populating the subgrid.

When I use the drop down ribbon in Campaigns I cannot see the Leads entity which suggests that there is no relationship in place.

DropDownRelationshipResized.png

And finally I have checked the Navigation Item in the Form view for the Campaign and initially no relationship existed however I created a new 1:N relationship from the relationship explorer and dragged it to the panel on the left but to no success. Any help getting this button back would be greatly appreciated :)

CustomizationRelationshipResized.png

*This post is locked for comments

  • yleclerc Profile Picture
    yleclerc 1,547 on at
    RE: Associated Views button Missing on Subgrid

    Aileen,

    Would this work in CRM 2016? We tried it and we are getting a blank page. We are trying to surface Campaign Leads in the Campaign Form. Here is the code we used:

    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head>
    <title>Untitled Page</title>
    <style type="text/css">html,body{font-family: Segoe UI, Tahoma, Arial;background-color: #d6e8ff;border: 0px; margin: 0px; padding: 0px;}</style>
    <script type="text/javascript" language="javascript">

    //debugger;

    //get the context
    var Xrm = window.parent.Xrm;

    //get the current object id
    var oId = Xrm.Page.data.entity.getId();

    //get the object type
    var oType = Xrm.Page.context.getQueryStringParameters().etc;

    //set Relationship Name
    var relName = "campaign_leads";

    //building a url
    var sUrl = "/userdefined/areas.aspx?oId=" + oId + "&oType=" + oType + "&pagemode=iframe&security=852023&tabSet=" + relName;


    //get relative path with orgname as required
    var relativeUrl = Xrm.Page.context.prependOrgName(sUrl);

    window.location = relativeUrl;

    </script>
    </head>
    <body>
    </body>
    </html>

    Thanks! Any help is appreciated!

    Yvan

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Associated Views button Missing on Subgrid

    I had this same issue with 2 custom entities and found a simple fix.

    In the relationship, there is a section titled "Navigation Pane Item for Primary Entity". The "Display Option" was set to "Do Not Display". After changing that to "Use Plural Name" and setting "Display Order" to "10,000" the button to view related records appeared above the subgrid.

  • Verified answer
    Aileen Gusni Profile Picture
    Aileen Gusni 44,524 on at
    RE: Associated Views button Missing on Subgrid

    Rory,

    The system relationship and you created below, they are not same..

    " however I created a new 1:N relationship from the relationship explorer and dragged "

    So that it wont be the same.

    If you add the navigation in the left, then the behaviour will show the button to redirect to associated view, but somehow, the system relationship you cannot add, those are missing associated view, in this case seems you don't have it.

    If you want to show the missing associated view you need to do customization, unfortunately huff

    missdynamicscrm.blogspot.com/.../display-missing-associated-view-in-crm-2013.html

    Hope this helps.

    Thanks.,

  • MilindP Profile Picture
    MilindP 1,019 on at
    RE: Associated Views button Missing on Subgrid

    Add both the relationships on left nav and keep System relationship on top of the custom... to use it as default for all associated sub-grids

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Re: Associated View

    Any further info needed please ask!

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,971 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,846 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans