locked
NavBarByRelationshipItem: Does not respect ViewId RRS feed

  • Question

  • Hi experts,

    From an opportunity I would like to show activities in the Navigation bar to the left. Thats no problem. But changing the view from the associated view to a custom view - does not work.

    I tried to fill in the Optional attribute "ViewId" with the ID for the view in question, but dyn crm still shows the associated view.

    Microsoft actually address this problem in rollup10, I'm on rollup18. So it should work.

    This is the snippet from my customization.xml file

    <NavBarByRelationshipItem RelationshipName="Opportunity_ActivityPointers" Id="navActivities" Show="true" Sequence="10000" ViewId="{987239E3-8E9C-E411-9580-D485640E8203}" Area="Info">
      <Titles>
        <Title LCID="1030" Text="Aktiviteter" />
      </Titles>
    </NavBarByRelationshipItem>

    Any help would be appreciated

    Henrik


    --- Best regards Henrik Skydtsgaard

    Thursday, January 15, 2015 1:51 PM

Answers

  • Found a solution. If you use the standard Id, in this case "navActivities", then ViewId is not respected. Choose another Id and it works.

    /henrik


    --- Best regards Henrik Skydtsgaard

    Thursday, January 15, 2015 8:11 PM