Reputation: 313
I have a use case where I would like to create a Channel/group tab, but from code -- not from the configure experience
Where?
user selects an item from this iFrame, and a new Tab is created in that channel, pointing (Deeplinking?) to that content
The channel may not have a Tab created; I can see how you get the current Tabs for a channel in microsoftTeams.js
(ie: microsoftTeams.getTabInstances(callback: (tabInfo: TabInformation),tabInstanceParameters?: TabInstanceParameters,)
)
microsoftTeams.js
-or- Microsoft Graph to create a new Tab in that channelI attempted to use
microsoftTeams.executeDeepLink(deepLink: string, onComplete?: (status: boolean, reason?: string))
with an appropriately formatted deepLink
but it silently failed
My code works OK from the "configurableTabs": [
experience
Thoughts? Missing feature?
Or am I missing something?
Upvotes: 1
Views: 278