VTB How to remove/hide the Add a Card option on Guided Boards
This content was last updated in 2024. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2023 10:39 AM
Hello - Our guided boards for VTB are set to the task (task) table. When a user creates a new card, it auto-populates a number with TASKXXXXXXX. The problem this poses is that these numbers are already assigned to Catalog Tasks. If someone was trying a global search for the VTB task number, only the old Catalog task opens. We want the guided boards to show existing Catalog Tasks and Incidents, so that is why ours is configured to task (task) table.
After review, we would like to remove the 'Add a Card' option for ITIL users (without stopping their ability to create Catalog Tasks on RITMs or INCs). Any recommendations would be appreciated! Thank you in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2024 12:29 PM
Hi Angelas, I hope you are well.
I had the same problem. My customer used the visual task board (guided) on the incident table. New records were created in the table, but not through the catalog item. In doing so, the catalog item variables were not populated.
To solve the problem, I chose the ACL from the table (type create) and included the following script:
var url = gs.action.getGlideURI();
if(url.indexOf('vtb.do') == - 1 ){
answer = true;
}
The script examines the url, if it does not find 'vtb.do' it gives access to create a record in the table. This way, the add card button will not be available.
Mark Correct if this solves your problem and also mark Helpful if you find my answer valid based on impact.