sp-editable-field usage

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2017 10:44 AM
I'm new to Service Portal and Angular. The documentation around advanced features provided via the Service Portal are difficult to find documentation on. I'm mimicking the use of sp-editable-field from the User Profile widget. I have my widget loading data and showing the editable popup for a field on the incident table. When I click save though, nothing is being updated. Is there client script that goes along with sp-editable-field to enable the update or is this an issue with the HTML?
<strong class="pad-right">${Short Description}</strong><sp-editable-field editable-by-user="true" table="incident" table-id="selectedIncident.sys_id" field-model="selectedIncident.sysIncidentModel.short_description"></sp-editable-field>
You can see I have set my table to incident. I have an in scope variable called selectedIncident. I know selectedIncident is correct because its values are being loaded into the panel. The popup includes the original value. I change it, click save, and it stays the previous value.
Beyond this specific question about sp-editable-field, is there a set of documentation around all the available "sp-" Angular functionality so that we know what is available and how to use it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2018 02:24 PM
This is not working. It is not saving.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2022 12:07 AM
same issue, what if I have array of information how to make each and field editable.
What I mean to say is:
my obj=[{incNo: '1234', incdesc: 'desc123', state:'new'},
{incNo: '1234', incdesc: 'desc123', state:'new'},
{incNo: '1234', incdesc: 'desc123', state:'new'}
]
how to make only state editable here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2018 02:23 PM
One year later, I am in the same situation as you were in. Did you find a solution for this? If so, please share. I am looking to edit description and it is not saving.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2019 11:58 PM
<sp-editable-field-customized should work