sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Add Teams tab with properties

Open phettz opened this issue 7 years ago • 4 comments

Hey

Is it possible to add the webpart to a tab with properties using the graph api?

Looks like the Teams client is first sending a post to _api/web/hostedapps/add on the SharepointPoint site behind the Team when you add it.

Example:

webPartDataAsJson: { "dataVersion":"1.0", "description":"MyFirstTeamsTab description", "id":"c9573db2-e061-47c7-86e2-de2008e352b6", "properties":{"description":"MyFirstTeamsTab description"}, "instanceId":"02d4cabf-6642-43ce-8999-4f41d796ae02",
"title":"MyFirstTeamsTab" }


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

phettz avatar Jun 26 '19 11:06 phettz

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar Jun 26 '19 11:06 msft-github-bot

Unsure... I think it's more of a question for the Graph / Teams API teams as it wouldn't be handled from their site. A custom tab in Teams is just a manifest definition & the URL is specially crafted to point to a special SharePoint page with specific URL parameters.

andrewconnell avatar Jul 03 '19 18:07 andrewconnell

Closing issue as "answered". If you encounter similar issue(s), please open up a NEW issue. Thank you.

msft-github-bot avatar Jul 07 '19 10:07 msft-github-bot

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 24 '20 06:01 msft-github-bot