- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2018 02:06 PM
Hi All,
I ran into an strange issue.
I have created a Application scope and from that Application scope i have added a field to the Table which is in Global Application scope. Now I want to delete that field but I don't know for some reason i was unable to see the Delete button to delete that Field
Can someone please let me know the possible reason for this and a way to delete that Field.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2018 04:11 PM
You can use below background script to delete column.
Again, make sure that you are in correct scope
Following is sample code. Change query as per your requirement.
var dict = new GlideRecord('sys_dictionary');
dict.addEncodedQuery('name=u_test_fix^element=u_out');
dict.query();
while(dict.next()){
dict.deleteRecord();
}
Regards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2018 02:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2018 02:44 PM
yeah I checked the scope the scope is the same application scope which I have created but still in the Table configuration I am unable to delete.
Even I tried by going through Studio and selecting the Application which I have added and tried to delete the field but in that also I cant find the Delete Button.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2018 03:15 PM
can you go to the "system Definition" >> Dictionary >> search for that column.
once you will find it open that, if you will be in wrong scope then "delete column" button will not be visible. so make sure you are in correct scope to delete the column.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2018 03:35 PM
Yeah Even tried the same but didnt work.
I kept the Applciation in the grid view and checked and went into the scope of that application. But Unable to see Delete Button.
I have created a custom table in that application scope and added some field and I can delete button for those fields which are created in the tabl which is in that Scope only.
But for the Fields which I added from Application scope to a table in Global Scope I was unable to see the Delete button.
Strange Scenario.