- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2023 05:09 AM - edited 05-04-2023 05:30 AM
I need to add the 'EDIT' button in the 'Attached Knowledge' related tab for 'Emergency' and 'Normal' changes, I have added the 'EDIT' button and added the omit condition. Still, the 'EDIT' button is showing for the Standard Change.
The omit condition for EDIT - current.type == 'standard';
Screenshot of the List control.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2023 05:50 AM
Hi,
Use it like this, then it will work.
var answer;
if(parent.type =="standard") {
answer = true;
} else {
answer = false;
}
answer;
Mark the comment as a correct answer and also helpful if this has answered your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2023 05:50 AM
Hi,
Use it like this, then it will work.
var answer;
if(parent.type =="standard") {
answer = true;
} else {
answer = false;
}
answer;
Mark the comment as a correct answer and also helpful if this has answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2023 05:57 AM
Hi Kaushik,
on current refers to KB article not to the change so in order to access the change fields in this script, you need to use parent.
Try using below script in both omit conditions. IT is working for me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 01:06 AM
Hi Kaushik, I have a requirement to create the EDIT button in the 'Attached Knowledge' related tab for Incident form. Please share how to achieve that.
Thanks,
Harsha