Recently, we were a creating a dataset type PCF control to display data.
But there were many other controls on the page such as command bar, view selector, quick find and group by, which were unnecessary.
So how to remove these controls?
Go to your Control Manifest file and make the below changes.
Add this line inside the tag as shown below:
cds-data-set-options=”displayCommandBar:false;displayViewSelector:false;displayQuickFind:false;displayGroupBy:false;”
After building the control now you can see the ribbon bar and OOB controls have disappeared.
Important Links:
To know more about this Click Here.
View Comments
Very good, thank you!