Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 739 Bytes

File metadata and controls

32 lines (23 loc) · 739 Bytes
title description author ms.author ms.date ms.topic
getAllTabs method (app profile manager) JavaScript API Reference | MicrosoftDocs
Learn about the getAllTabs API of app profile manager in Customer Service workspace.
gandhamm
mgandham
10/01/2021
reference

getAllTabs (app profile manager)

Returns the unique identifiers of all tabs for a specified session.

Syntax

Microsoft.Apm.getFocusedSession().getAllTabs();

Return value

Collection of tab identifiers.

Example

const session = Microsoft.Apm.getFocusedSession();
session.getAllTabs().forEach(id => {
	const tab = session.getTab(id);
	console.log(tab.title);
});

[!INCLUDEfooter-include]