The CreatorCon Call for Content is officially open! Get started here.

In Workspace, how can I get the count of open main tabs

Akanksha1
Tera Contributor

In Workspace, how can I get the count of open main tabs

19 REPLIES 19

Thanks for clarifying. Just to confirm, are you sure there’s no way at all to get the open tab count? I was wondering if there might be any possible approach to show a custom alert after the 9th tab, while still keeping the standard popup after the 10th.

I think you should relax a little bit. Yes you did in fact inform us yesterday that it's not possible. But clearly the system itself is aware of how many tabs it is currently displaying to any given user at the time. So I understand perfectly well that, one day after your message, Akanksha1 has still not given up finding an answer. 

Thanks for understanding. Exactly, since the system itself can show the popup after the 10th tab, I was exploring if there’s any way to tap into that logic so I could also display a message after the 9th tab.

@Akanksha1 @MortenPettersen 

There are lot of scripts which come from platform level for which you won't have access on how they are implemented.

Example: you can't change the Invalid update text when you use setAbortAction() in before update business rule as that message comes from platform level.

You can keep this thread open to see if someone has some answer to your question.

 

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Bhuvan
Giga Patron

@Akanksha1 

 

You can use property in the corresponding workspace to control the maximum number of tabs. Refer below knowledge article

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1333495

 

As per community guidelines, you can accept more than one answer as accepted solution. If my response helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan