I'd like to retain the view selector on the subgrid when I'm applying a dataset custom control just so I can switch between my custom control and ootb subgrid. This should be possible because when I set the ootb subgrid as the default control and I switch to my PCF control thru the subgrid view selector, the whole command bar still remains.
Any advice on how I can make this to work?
For subgrid on form, you should get Commandbar/ViewSelector/QuickFindSearch/Jumpbar by free. Here is the way，
Suppose you have a data set control, its manifest xml node is like
<data-set name=”foo” >
Then all you need is to
1) Update manifest version
2) Update that node and add attribute cds-data-set-options=”displayCommandBar:true;displayViewSelector:true;displayquickfind:true”
It will look like
<data-set name=”foo” cds-data-set-options=”displayCommandBar:true;displayViewSelector:true;displayQuickFind:true”>
@AnqiChen Information for getting all these controls are very helpful, thanks a lot.
Is these information documented some where? Or will document?
I found these information in following link.
I am getting this after adding this line in dataset tag-
[pcf-1014] [Error] Manifest validation error: instance.manifest.control.data-set.$ additionalProperty "cds-data-set-options" exists in instance when not allowed
1. May I see the full manifest?
2. Are you using CLI to import?
It might not compatible with CLI, but once the solution created, you could manually update it
Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.
Fill out a quick form to claim your user group badge now!
Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities
Features releasing from October 2019 through March 2020
Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.
Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications