want to remove OOB column from RIDAC Page in project workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
To remove columns in the RIDAC Page on the Project Workspace are defined in the 'RIDACColumns' Script Include -
https://domain.service-now.com/nav_to.do?uri=sys_script_include.do?sys_id=515c6bd3433511101326810d0b...
To remove the 'State' column, there are two options. See below -
1. Remove 'state' column from allColumnsObj, by adding this piece of code in fetchColumn method in line: 38, before this "gs.getSession().putClientData('ridac_page_columns', JSON.stringify(allColumnObjs));"
// Filter out 'state' column from all sources
allColumnObjs = allColumnObjs.filter(function(col) {
return col.name !== 'state';
});
---
2. Remove it from this.defaultColumns = ['short_description', 'number', 'priority', 'due_date', 'impact', 'assigned_to']; as well as from list layouts of tables ['risk', 'issue', 'dmn_decision', 'project_action', 'project_change_request']; so that the state column will be removed from personalize column as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @Anmol123 ,
By customizing the RIDACColumns Script Include, fetchColumn method, iltering out entries where col.name === 'state' before setting clientData—and also removing state from the this.defaultColumns array as well as from the list layouts of related tables (e.g. risk, issue, project_action) so that the column no longer shows even in personalized views....
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
so what's your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader