- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2022 01:15 AM
How do I access sysID of another cell in onCellEdit client script? , For e.g in Incident form if i am using onCellEdit on priority, but i want to access sysID of Short description. Since we cannot use g_form in onCellEdit
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2022 04:13 AM
Hi Mahesh,
I dont think we can do that with onCellEdit(). Purpose of onCellEdit() is usually to restrict user to save record if someone tries to change the Value of certain field from list view. We cannot do much with onCellEdit().
Another approach will be to use Business Rule to get the sys id of the field you want.
Mark Correct or Helpful if it helps.
Thanks,
Yousaf
***Mark Correct or Helpful if it helps.***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2022 03:02 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2022 05:06 PM
Hi Mahesh
In the first place, I don't think Priority can't be changed .
Second, sysIDs will return the sys_id of the record. That is, sysIDs will be the same for cell "Priority" and "Short Description".
If the question is on how to change value of other cell in the list, check the following thread.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2022 04:13 AM
Hi Mahesh,
I dont think we can do that with onCellEdit(). Purpose of onCellEdit() is usually to restrict user to save record if someone tries to change the Value of certain field from list view. We cannot do much with onCellEdit().
Another approach will be to use Business Rule to get the sys id of the field you want.
Mark Correct or Helpful if it helps.
Thanks,
Yousaf
***Mark Correct or Helpful if it helps.***

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2022 02:47 PM
Mahesh can you close the thread by marking my answer correct or helpful if it is helpful for you
***Mark Correct or Helpful if it helps.***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2022 03:02 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2022 05:06 PM
Hi Mahesh
In the first place, I don't think Priority can't be changed .
Second, sysIDs will return the sys_id of the record. That is, sysIDs will be the same for cell "Priority" and "Short Description".
If the question is on how to change value of other cell in the list, check the following thread.