How to apply 'default-query' for Reference Field in Service Portal widget

rpoola
Tera Contributor

Hi,

I am working custom widget. Can anybody tell how to apply 'default-query' for Reference Field in HR portal.

For reference field i am using following

<sn-record-picker field="placement" id="placement" table="'xxxxx'" display-field="'u_title'" value-field="'sys_id'"   default-query=""   search-fields="'u_title'" page-size="10" ></sn-record-picker>

I have tried in different ways but i am not understanding how to apply default-query to the reference field. Now i am populating all records but I want to query with some restrictions.

find_real_file.png

nathanfirth

ctomasi

5 REPLIES 5

Did you get a fix for this issue.?