How to remove/ restrict "add card" button and their functionality in the Visual Task Board?

Sumitha Suseend
Tera Contributor

Hi All,

We have a requirement to disable the add card button from the visual task board. Where it is allowing the user to create a record in the table based on the filter condition applied in the vtb. The add card funactionality should be removed from the "Data driven visual" task board. Also find the screenshot attached.

If any of you faced the same issue kinldy share your ideas.

Regards,

Sumitha

2 REPLIES 2

Sanjay Bagri1
Tera Guru

Please follow below link might be helpful for you.

https://hi.service-now.com/kb_view.do?sysparm_article=KB0717253

 

https://old.wiki/index.php/Using_Visual_Task_Boards

 

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.


Thanks
sanjay bagri

Marcelo Godoi
Tera Contributor

Hi Sumitha, 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.

 

MarceloGodoi_0-1711049045031.png