Need to remove field from list layout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 12:35 AM
Hi Team,
Could you please suggest me how to remove/delete the field from list layout.
Note : We don't want that field on Personalize List Columns.
Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 12:38 AM
Hi,
To remove a field from a list layout, you can use the ListControl API in a Client Script.
Here's an example:
function onLoad() {
// Specify the name of the field you want to remove
var fieldName = 'field_name';
// Get the ListControl object
var list = GlideList2.get('<your_list_name>');
// Remove the field from the list layout
list.hideColumn(fieldName);
}
n this example, replace field_name with the name of the field you want to remove, and replace <your_list_name> with the name of your list.
This script will remove the specified field from the list layout and prevent it from appearing in the "Personalize List Columns" dialog.
Note that this script will only affect the current user's view of the list. If you want to remove the field for all users, you will need to modify the list layout or create a UI Policy to hide the field.
Thanks,
Rahul Kumar
Thanks,
Rahul Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 12:48 AM
Hi @Jakkamsetti Pra
Another simplest way of removing a field from a list layout:
1. Navigate to the list where you want to remove the field.
2. Click on the gear icon on the top right corner of the list and select "personalize list" from the drop-down menu.
3. This will open the "personalize list layout" page, you would see a list of all the available fields in the left-hand column.
4. Locate the field that you want to remove from the list layout and select it by clicking on the checkbox next to it.
5. Click on the left arrow button to move the field from the "selected" column back to the "available" column.
6. Click the "save" button at the bottom of the page to save the changes.
Once you've saved the changes, the field should no longer appear in the list layout for that particular list.
Note: This change will only apply to your user account and not to other users who may be using the same list layout.
Hope this helps to achieve your need. Happy to help!
Please mark helpful/correct, if your query is addressed and/or answered!
Thanks,
Vamshi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 12:57 AM
Hi @Rao Vamshi ,
Thanks for your response. My question is to remove or delete the field from available slush bucket.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 01:09 AM
You'll need to modify the table's dictionary to remove a field from the available slush bucket.
And this change will affect all instances of that table in the system. If you want to remove the field from the available slush bucket for a specific list or form, you will need to modify the list or form's dictionary instead.
Let me know if you need additional help!
Thanks,
Vamshi