- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 12:37 AM
Hi,
I would like to create a list collector in widget. I know it is OOB item in Service Catalog. Can I apply the same solution in widget? Because in my widget need to have a same functionality dropdown to support my use case. Is there any sample can refer?
Regards,
Lam Yee Tong
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 12:43 AM
hello
you can use a service now angular directive called sn record picker in the widget .
Follow this blog and that will help you
Example:
<sn-record-picker field="location" table="'cmn_location'" multiple="true" display-field="'name'" value-field="'sys_id'" search-fields="'name'" page-size="100" ></sn-record-picker>
Hope this helps
please mark my answer correct if this helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 12:43 AM
hello
you can use a service now angular directive called sn record picker in the widget .
Follow this blog and that will help you
Example:
<sn-record-picker field="location" table="'cmn_location'" multiple="true" display-field="'name'" value-field="'sys_id'" search-fields="'name'" page-size="100" ></sn-record-picker>
Hope this helps
please mark my answer correct if this helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 01:28 AM
Thanks! This help me a lot and also knowing sn-choice-list support attribute "multiple" as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 01:32 AM
If it helped please mark the answer correct and close the thread so that it benifits future readers with same query