Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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.?