How to hide Ribbon Bar options


Introduction:

Recently we added a PCF Control for our entity which didn’t have any interaction with ribbon bar options. Hence, we wanted to hide the ribbon bar options like commandbar, viewSelector, quickfind and groupby. We achieved this by setting the following properties in ControlManifest file:

cds-data-set-options=”displayCommandBar:false;displayViewSelector:false;displayQuickFind:false;displayGroupBy:false;”

Ribbon Bar

Given below is the PCF Control for our grid where you can see images of before and after setting above properties.

Before

In this screenshot, we can see the ribbon bar options. Now, we are going to hide the highlighted part.

Ribbon Bar

After

As you can see, in this screenshot the above highlighted part is removed.

Ribbon Bar

Conclusion:

With the help of ribbon bar properties like command bar, view selector, quickfind and groupby we can make more space for PCF control.

Marketing4Dynamics



Source link

More About This Author

Inogic
Inogic is one of the leading Microsoft Dynamics 365 ISV since 10+ years. Its flagship product Maplytics™ is a market leading certified (CfMD) geo-analytical mapping app. Maplytics empowers Dynamics CRM users across industries with the power of geographical data visualization, route optimization and along the route search with turn-by-turn directions, appointment planner, locational search by radius and shapes with drill-down filters and color-coded pushpins, heat maps, shape layers & territory management.
 
Inogic is renowned for its high quality and low-cost offshore development services and productivity apps like InoLink: QuickBooks + Dynamics CRM, User Adoption Monitor, Attach2Dynamics, Alerts4Dynamics Click2Export, Click2Clone, Kanban Board, SharePoint Security Sync, Lead Automation & Distribution, Map My Relationships, Auto Tax Calculator, Subscription and Recurring Billing and Marketing4Dynamics.

Author: Inogic

Inogic is one of the leading Microsoft Dynamics 365 ISV since 10+ years. Its flagship product Maplytics™ is a market leading certified (CfMD) geo-analytical mapping app. Maplytics empowers Dynamics CRM users across industries with the power of geographical data visualization, route optimization and along the route search with turn-by-turn directions, appointment planner, locational search by radius and shapes with drill-down filters and color-coded pushpins, heat maps, shape layers & territory management.   Inogic is renowned for its high quality and low-cost offshore development services and productivity apps like InoLink: QuickBooks + Dynamics CRM, User Adoption Monitor, Attach2Dynamics, Alerts4Dynamics Click2Export, Click2Clone, Kanban Board, SharePoint Security Sync, Lead Automation & Distribution, Map My Relationships, Auto Tax Calculator, Subscription and Recurring Billing and Marketing4Dynamics.

Share This Post On