Feb 04, 2016 Sandhiya K
MS CRM 2013 came in with new features which changed the usability, design and customization options within CRM. In this post, we will be looking at Composite Controls, a new feature in MS CRM 2013. We shall detail how to customize the flyout items of the control in MSCRM 2015.
Composite field is a new feature of MS CRM 2013, which combines multiple field values into a single field on the CRM form. There are two predefined composite attributes which are available in CRM, but further custom composite controls cannot be created in CRM. The two composite attributes that are available in CRM for use are listed below:
These fields are available in the contact, lead, user, account, quote, order and invoice entities.
For more information on composite attributes, please click here
This article throws more light on setting the visibility of the flyout items.
This task can be performed using the syntax
document.getElementById(“compositefiledname_compositionLinkControl_flyoutitemname_d”) .parentElement.style.display = “none”;
Using business rules, the visibility can be set in a supported and secure manner. The detailed procedure for achieving this functionality is given below.
Step 1: Open the entity form and click on the Business Rules tab in the ribbon and click on the New Business Rule button in the right bottom of the form as highlighted.
Step 2: Without specifying any conditions, just set visibility of the flyout item to none in the business rule. Now, Save and Activate it.
Since no condition is specified, this will work on load of the record in CRM and the field in the flyout will be hidden.
Step 3: Once the rule has been activated, reload the form to find the changes in the composite control.
Now it can be noted from the composite control that, the field “Street 3” in the flyout menu is hidden from the form and the visibility change has been accomplished by using business rule in a secure manner.
Disclaimer: All images have been sourced from our inhouse Dynamics CRM online trial subscription.
Dynamics NAV to Business Central Upgrade: A Comparative Study to Unlocking Growth Potential
Aug 22, 2023
.NET: Addressing Critical User Pain Points
Jan 27, 2021
Dynamics 365 Field Service 2020 release wave 1: Key takeaways
Jul 20, 2020
We have plans which will meet your needs, and if not we can tweak them around a bit too!