Home > CRM 2011 > “Add Existing” button is missing from associated view ribbon – Reason & Fix

“Add Existing” button is missing from associated view ribbon – Reason & Fix

We get “Add Existing” button when you have relationship between 2 entities and when you select “Associated View” or “Sub grid” of child entity.

Consider this scenario

  • I have 2 custom entities in my system
    • Policy Holder
    • Policy
  • I have 1:N relationship between Policy Holder & Policy (i.e., #1 ‘Policy Holder’ can have #N ‘Policies’)
  • I have added  a sub grid with name “Whole life Policies”  of “Policies” entity, on my “Policy holder” form
  • When I select sub grid “Whole life Policies”  of “Policies” entity, I get both “Add New Policy” & “Add Existing Policy” buttons on my ribbon
Sub Grid with Add existing button

Sub Grid with Add existing button

P.S. The availability of “Add Existing” button depends on “Requirement Level” property of “Relationship”

  • Going back to the scenario, when I open Relationship form of “Policy Holder” & “Policy”, the “Requirement Level” chosen as “No Constraint”
Requirement level - No constraint

Requirement level – No constraint

  • That’s why I had “Add Existing Policy” button when I chose Policy Sub grid on “Policy Holder” form

“Add Existing” button will go off if I set “Requirement Level” property to “Business Required”

  • Now let me change “Requirement Level” to “Business Required” on Relationship form

 

Requirement Level - Business Required

Requirement Level – Business Required

 

  • Save & Publish
  • Now I don’t get “Add Existing Policy” button when I chose Policy Sub grid on “Policy Holder” form
No Add existing button

No Add existing button

Take aways :-

  • So this is one way of hiding “Add Existing” button by making  “Requirement Level” to “No Constraint” on Relationship customization.
  • You can also hide the “Add Existing” button by using Ribbon Customizations.

🙂

Advertisement
  1. Kamalesh
    November 20, 2013 at 9:42 AM

    Hi. I am facing same problem but with activities and to custom entities. Do you know the exact reason behind it?

  2. Petr
    August 6, 2015 at 1:26 AM

    Thank you a lot 🙂 Nice post

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: