Display All records of table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2023 01:37 AM - edited 09-18-2023 01:43 AM
Hi Community,
I am new to ServiceNow community.
I have a requirement to show list of record using custom widget.
I want to edit directly from output of widget by double click on that field. I want to show all list of incident
and apply double click function so that if we double click on specific field, then it should be editable like this:
I am using this code
HTML:
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Table List</h3>
</div>
<table class="table">
<thead>
<tr>
<th>Number</th>
<th>Short Description</th>
<th>State</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="table in data.tables" ng-dblclick="c.editTable(table.sys_id)">
<td>{{::table.number}}</td>
<td>{{::table.short_description}}</td>
<td>{{::table.state}}</td>
</tr>
</tbody>
</table>
</div>
I am stuck on other client and server scripts.
Thanks in Advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2023 02:33 AM
Hi @rah dev
By default , list field is not editable from list view.
below link might help you.
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2023 02:35 AM
@Vishal Birajdar, i want to create custom widget to show list