Delete Article Template Field
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2020 02:55 PM
Can we delete the Article Template Field ?I know we can inactivitate it but can we delete it ?
Labels:
- Labels:
-
Service Portal Development
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2020 03:18 PM
It's not best practice to delete field since it may have cascade delete impact and you will loose data.
Regards
Sachin

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2020 03:44 AM
Hi Meru,
Article template fields can't be deleted.
As you rightly said, they can be made inactive.
Regards,
Lokenath
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2024 06:00 AM
You can delete you custom template field with background script
var gr = new GlideRecord('kb_article_template_definition');
gr.query();
if (gr.get('sys_id')) {
gr.deleteRecord();
}