Refining the list of fields
The standard search form in WebDrawer contains 3 lists each containing a list of search clauses and additional fields. Maybe you only want a selection of your additional fields included in these lists? This video shows one way to achieve this.
In the video above I:
- edit the file Views\WDSearchClauseDefJS.cshtml, then
- in the FieldDefinition 'foreach' loop I edit the search clause to only return the field definitions I am interested in.
Note for version 9.0 and later
In 9.0 the file WDSearchClauseDefJS.cshtml was moved to the 'Help' folder. Unfortunately it is also installed in the 'Views' folder. Ignore the file in the 'Views' folder and modify the one in the 'Help' folder.