Microsoft Teams | Expand Tab using JS - microsoft-teams

Hi my organisation has been creating an app on microsoft teams that allows users to view glpi website inside of a teams tab. The app in itself is just a shortcut to make it easier for the users to navigate through teams.
We need to use an html file with java script in it so that the app redirects to the website in a tab as microsoft teams doesn't allow us to show external website inside of a teams app.
My question is the following : Is it possible that when as a user i click the app button and the redirection to the website tab happens, that this tab automatically expands so that it take all the space inside the teams client. I want it to trigger the "expand the tab" option. (I accept whatever solution you may find because i haven't been able to find something relevant)
This was my first post i thank you for you time and effort and for reading me, have a nice one.
(I tried my best to review this before posting but i'm not sure that i haven't made any mistakes).
I have tried a bunch of useless edits...

There doesn't seem to be any graph API available for pin an App.
We have app related graph API available for add app to team and install app to user.
Ref Doc: https://learn.microsoft.com/en-us/graph/api/team-post-installedapps?view=graph-rest-1.0&tabs=http
https://learn.microsoft.com/en-us/graph/api/userteamwork-post-installedapps?view=graph-rest-1.0&tabs=http
To redirecting your Tab in application you can use deeplink to Tab of an application.
Reference Document: https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-link-application?tabs=teamsjs-v2#generate-a-deep-link-to-your-tab

Related

How can I pin a Sharepoint's WebPart app?

I have developed a Sharepoint's WebPart. This app works fine and now I need something similar to integrate with Teams.
I have been researching about the best way to develop the app for Teams. As far as I know, there are two ways of doing this:
1. I can develop a new app only for Teams
2. I can "reuse" the Sharepoint's Webpart.
According to the second one option, I have made some little changes and now the app based in the WebPart is working in Teams.
My doubt is the next one. The application is a "Tab" associated to a channel and the client wants that the app icon appears in the menu of the left side.
When I try to add the icon in: https://admin.teams.microsoft.com/policies/app-setup, this new application based on the WebPart, never appears and I don't know the way to add the icon in the menu.
Could somebody help me?
Kind regards
You can pin only Personal Apps to the left rail. Please add your SharePoint page as personal (static) tab in your App and then pin it.

How do I redirect to another page in my custom app for Microsoft Teams?

I have a simple webapp that I am showing as an app in Teams. I have set it up in App Studio and everything works as I expect and it's all great. It is showing my web app and that is what I want.
For some cases, I need to redirect to a different web app on a different domain. When testing from Microsoft Teams in my browser, it works fine. But when I test from Microsoft Teams in the desktop app, then the screen just turns grey when the redirect was supposed to happen.
I already added the domains to this dialog in Manifest Editor.
Because the screen just goes grey with no explanation, I am having a hard time troubleshooting this issue.
#NielsBrinch Could you please take a look at Redirect across domains in a Microsoft Teams tab? Also please make sure that the tab you want to redirect to, is iframable and that it meets all the Requirements for tab.

How to develop Microsoft Teams app for "App Bar and home screen"

I would like to create an application for Microsoft Teams but I don't understand what capability I have to exploit.
I would like the application to be called up from the application bar and opened to full screen.
The same behavior that occurs for the "App Studio" application.
I need to bring something that is not accessible, either by chat or tea; the app should manage a flow in a personal window.
I looked at the manifest definition document but found nothing.
https://learn.microsoft.com/en-us/microsoftteams/platform/resources/schema/manifest-schema
I would like to replicate the application behavior like AppStudio or Microsoft Planner, to name a few.
For example App Studio
A possible alternative, could be to insert a button in the chats and open a popup with the configuration page.
I saw this behavior for the AzureDevOps extension.
Unfortunately this also seems to be a capability not available.
Azure DevOps
Do you have any idea how to do it?
Thanks a lot
Correct solution is static tab for personal use.
Complete answer

Why does Test Install Flow ignore Setup URL and instead uses Universal Navigation Link

We're trying to set up a new marketplace app. As suggested by the Google Apps setup UI, we have provided a Setup URL for setting up an account with the service.
However, if I click on the Test Install Flow button, it redirects to the Universal Navigation link instead of the dedicated application Setup url.
What's going on?
The setup URL is never invoked by Google. I don't know why, and I don't know why they provide a field for it.
An answer I got from a Google guy is that if you need an interactive setup you should just implement it in your Universal Navigation link (on the first time the admin opens it or something). The full answer is here: Google Apps Marketplace app installation callback

Google Apps Marketplace SDK : setup a contextual gadget

Ok, so without much notification given, adding market place listings to your vendor profile is no longer possible. The 'create new listing' button is greyed out.
I need to make changes to an existing marketplace listing but that gives errors. We are forced into the new SDK.
So I went ahead and enabled the apps market SDK, filled out all details including images of all sizes, add a COB extension for the contextual gadget and saved the whole thing.
A minute later I return to make a modification and dang... error: "We are looking into this.".
#Google: HELP !
UPDATE : I can reliably reproduce the error as explained here.
Enable Google Apps Marketplace SDK in your project
click on the gear icon, you will be directed to the old API Console
Fill out all details
Add a COB extension (Contextual gadget)
Save everything
Close the API console
Go back to your cloud console -> Google Apps Marketplace SDK
Click on the gear icon again
ERROR
Tested with several google accounts on different computeres and multiple projects on the cloud console.
#jonathanberi could we have a status on this issue, please? We are experiencing the exact same issue and we are unable to publish our app (which is ready) because of this bug. We have tried both creating a new Google Apps console project from scratch as well as modifying a draft of a yet to be published page with the same result. Is any information that we could provide to help?
You must fill out parameter name and a paramter value or your cloud console will return errors and you will not be able to recover from this.
Ouch, that were 3 useless weeks....

Resources