Forum Discussion
About Task Module (startTask()
Dear Sir.
In Teams, We are developing "Static tab app", which is the web app hosted by our another server.
We have many servers at the customer side.
One solution is managing a single server on AWS. --> It's not the issue.
For second one, Thing is Teams app just provides URL input and login input screen.
If an user inputs his/her server URL, and in/pw, the app is executed, hosted from each server.
For this, Teams app provide the screen for URL input and ID/PW input terminal without another server hosting.
After that, our server will host the app by inputed URL and auth.
I found the "Task Module" run by startTask(). That will be a solution for us?
And I can see some examples from the MS Teams home below
(https://learn.microsoft.com/en-us/samples/officedev/microsoft-teams-samples/officedev-microsoft-eams-samples-app-task-module-nodejs/)
However, we need a full screen without Teams top tab menu and side menu.
That is, full screen instead of Dialog.
Is it possible? and recommended solution?
Many thanks
BH
6 Replies
- Sayali-MSFT
Microsoft
@byungheesohn, It sounds like you're working on a complex project with multiple servers and a need for user-specific server access. Using the "Task Module" with startTask() in Microsoft Teams can indeed be a solution for your requirement to provide a screen for URL input and ID/PW input without another server hosting.
By default, Task Modules in Teams are designed to open as modal dialogs, which include the Teams UI elements.
Unfortunately, there isn't a built-in way to completely remove these UI elements to create a true full-screen experience within the Teams app itself.
One potential workaround could be to use a combination of deep linking and custom tabs. You can create a custom tab that hosts your web app and use deep links to navigate users directly to this tab. While this won't remove the Teams UI elements, it will allow you to provide a more integrated and seamless experience within the Teams environment.
Reference Document-
1. Deep links overview - Teams | Microsoft Learn
2. Microsoft Teams tabs - Teams | Microsoft Learn- byungheesohnBrass Contributor
Thanks for your reply.
The reason why I want a full screen is one step login.
If we use a deep-linking to go our server, we need two steps. It's not good for customers.
Simply after moving our tab app, we want to face with the login screen below.
Once we do login, we want to see main app without login, even if we move to other tabs (ex Activity, Chat, Teams..).
Dialog input can be the same feature. However, from a product perspective, the screen below that can include our company's design is better than dialog input. I think Dialog is not common for most first screen.
Otherwise, if it is possible to enlarge the Dialog screen to fit the main screen even if I resize Teams screen, It can be a solution. Is it possible?
Many thanks
BH
- Sayali-MSFT
Microsoft
@byungheesohn, as i mention above, Microsoft Teams does not natively support a true full-screen mode for Task Modules. Task Modules are designed to open as modal dialogs, which include the Teams UI elements. This limitation means that achieving a completely full-screen experience within Teams is not possible.
While you cannot make a Task Module truly full-screen, you can maximise its size to fit most of the screen. This can be done by setting the height and width properties of the Task Module to larger values. However, it will still be constrained by the Teams UI elements around it.
To better achieve your requirements, we recommend submitting this feature request through the Teams Feedback Portal. This is the best way to ensure your idea is considered for future updates.
- Sayali-MSFT
Microsoft
@byungheesohn- Thank you for your inquiry about your Teams app development issue!
We are checking the issue. We will get back to you shortly.