Search by short description in ui_reference
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hello Community ,
I want to enable searching by using short description also is t possible here :
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<div style="padding: 20px;">
<div class="form-group">
<label>Select Incident Number:</label>
<!-- 1. Removed onkeyup from here to avoid breaking ServiceNow's native events -->
<g:ui_reference name="inc_lookup" columns="short_description" id="inc_lookup" table="incident" query="active=true" completer="AJAXTableCompleter" />
</div>
<div style="text-align: right; margin-top: 20px;">
<button class="btn btn-default" onclick="GlideModal.get().destroy();" style="margin-right: 10px;">Cancel</button>
<button class="btn btn-primary" onclick="applyToParent()">Update Parent</button>
</div>
</div>
</j:jelly>
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10m ago
Got solution :
I perform same steps in my pdi : https://www.servicenow.com/community/developer-forum/ui-page-ui-reference-search-multiple-fields/m-p... and its working as required