{Dynamics CRM/ 365 + Add New Bug} Add New (+) button not visible in sub-grid in Quick form View in Dynamics CRM 2016. Bug or expected behavior?

Back sometime I wrote a blog post on how to show related activities of an account on the contact form using Quick View feature. Here is the blog post link. Back then it was 2013 version of CRM and it generated quite an interest.

It worked great and a great advantage was people could even add activities to the account from the contact form only using the ‘Add New’ button of the sub-grid in the quick view form.


However recently, I received multiple queries on my blog about not being able to add new record from the sub-grid in quick view form. One common thing that I noticed is that all of them are on CRM 2016. Honestly I did not notice this at first sight. However I tried this myself and unfortunately I faced the same error.



As you can see there is no ‘+’ icon in the sub-grid. Checked the quick view configuration and all. Everything seemed fine. I had one CRM 2015 on-premise version. Checked and it was working fine in that environment.

So what has been change in the form rendering between 2015 and 2016 version and suddenly remembered that CRM introduced turbo forms in Dynamics CRM for improved performance during form load in the 2015 Online Update 1.

So I just went to Settings –>Administration –> System Settings and turned on – ‘Legacy form rendering’.


Now when I refreshed CRM Contact form again, I could see the ‘+’ icon back. Surprised? Yes even I was.


This is giving a big headache to many and I keep receiving questions about whether it is a bug. Looks like it is. Specially for customers who have upgraded from CRM 2015 to 2016, they could suddenly find this functionality not working and its kind of annoying and it is very hard for consultants to explain that something OOB is not working after upgrade

I suggested this workaround for some, however as expected this is not a very viable solution to propose to the customer. A significant performance degradation has been observed by consultants for forms with lot of controls and scripts in legacy form rendering and many consultants promised a better performance to their clients after upgrade with the new turbo forms feature.


I am open to suggestions here and would like to know if this is a bug? Or in case I have missed some documentations by Microsoft which highlights this point.


Hope this helps!


{Dynamics CRM + Customer Hierarchy} How to show all related contacts in entire customer hierarchy in Dynamics CRM 2015 onwards

Recently my friend called up for a requirement where they needed to show all contacts in customer hierarchy. Let me explain the scenario here before moving further

Suppose Account A is parent customer for Account B and Account B is the parent customer for Account C.

So the requirement is when Account A form is loaded, a sub-grid should on the form should show all the contacts of Account A + Account B + Account C. If Account B is loaded then the sub-grid should show all the contacts of Account B + Account C.

Let us approach the solution here. Ideally it is a two step solution.

Step 1 – Prepare the fetchxml which would allow us to fetch all the contacts in the entire customer hierarchy.

Step 2 – Bind the fetchxml to the sub-grid at run time to show the contacts.

Now for the first part, CRM 2015 introduces the new ‘under’ operator which eases out our task like anything. After some discussion, my friend came up with a perfect fetchxml to achieve this. For e.g the following is the fetchxml to show all the contacts in the hierarchy of ‘Account A’.



Wonderful isn’t it. It just gives you the results you want for this. With 2013 and prior versions you can imagine how much you would need to code to achieve the same.

So we have the fetchxml. Now coming to step 2 which is to bind the fetchxml dynamically to the grid.

For 2015, there is already a wonderful blog which explains this –

As much as we learn new concepts, I think the best thing is to see them in action in real life and my genius friend hit the bulls eye on this. He is a very well know face in Dynamics CRM – Nishant Rana.

This above logic would work not only for customer – contact relationship but in other areas of hierarchy as well like finding all users in a reporting hierarchy.

Hope this helps!

{Dynamics CRM + Security Role + System Settings} What role privilege controls System Setting visibility in Dynamics CRM?

Recently I came across a question in Dynamics Forum where the same question was posted. To be more specific, some sales user in the environment were having access to ‘System Settings’ in the administration section due to improper set-up of security role.

Clearly this was a security vulnerability. So what is the privilege that gives you access to the System Settings of the administration section.

To be honest, when I saw this question in the forum, I was not sure exactly sure about what is the exact privileged that needs to be turned on or off. However I knew that all the system settings are organization specific and hence they should be stored in some entity while relates to Organization settings.

I just browsed the security role form and voila! In the Business Management section, I could find the ‘Organization’. If we provide write privilege for this entity for a security role, user with the security role would be able to see ‘System Settings’ in the administration section. Check for the screenshot below.


Small info. But if you are not aware of it, can eat up your significant amount of time.


Hope this helps!