canCreateTab (app profile manager)
Allows you to check whether a new tab can be created in a session.
Note
Customer Service workspace lets you open up to 10 tabs simultaneously, in a session. If you open more than 10 tabs, then the following message is displayed: "Maximum tabs reached. Close a tab in this session before opening another."
Syntax
Microsoft.Apm.getFocusedSession().canCreateTab();
Return value
A Boolean value of true if a new tab can be created; otherwise, false.
Example
const session = Microsoft.Apm.getFocusedSession();
console.log(session.canCreateTab());
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla