cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Super User
Super User

PCF type Dataset: searchQuickFindSearch option

When creating a PCF of type dataset, we can use "cds-data-set-options" attribute, to define CommandBar, ViewSelector, QuickFindSearch. 

What is the right option for display the search input? (This options are not exactly documented; I've found only the example below)

 

I tried using "displayQuickFindSearch:true" as specified in the documentation example: data-set documentation 

 

 

<data-set name="dataSetGrid" display-name-key="DataSetGridProperty" cds-data-set-options="displayCommandBar:true;displayViewSelector:true;displayQuickFindSearch:true">
 </data-set>

 

 

 but the input for search was shown only in home-view and in the related view, but NOT in a subgrid, even if I customized the subgrid to show the search box

image.png

 

I remember that I've seen that already working, and I found out that a few months ago I used displayquickfind:true

 

 

<data-set name="dataset1" display-name-key="Dataset_Display_Key1" cds-data-set-options="displayCommandBar:true;displayViewSelector:true;displayquickfind:true"/>

 

 

 This one ("displayquickfind:true") still works in all cases: home grid, related view and subgrid.

 

Is it the documentation wrong? Or this option has changed  but is not fixed everywhere?

What should I use for now?

 

Best regards,

Diana

3 REPLIES 3
Resolver II
Resolver II

Not to overcomplicate things, but I want to add a bit to the confusion around this feature: cds-data-set-options seems to do absolutely nothing for a PCF in a canvas app; true or false on all params, there seems to be no resulting impact I can perceive.

 

I am not sure I would actually want it to do anything for canvas app applications--mind you--but it is a bit confusing that the feature is there and does nothing. Seems like this needs to be flushed out a bit, or at least documented.

New Member

@DianaBirkelbach 

The approach worked for me, thank you for share!

The unique scenario where it isn't work is a view into a dashboard.

VinnyBasile_1-1592756375230.png

Result

VinnyBasile_0-1592756260513.png

 

Power Apps
Power Apps

Sorry for late update, this was recently reported too.

 

The documentation needed update and it should be "displayQuickFind" and not "displayQuickFindSearch".

 

"displayQuickFindSearch" is not referenced in code any place so seems this was typo. 

 

thanks,

Hemant 

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Users online (76,137)