Forum Discussion
- Prasad_Das-MSFTMicrosoft
seanmc86 -
The Teams platform does not currently support the ability to programmatically pop out a tab from within a personal tab or elsewhere in the app.
However, you can create a similar experience by using a Task Module. Task Modules allow you to create modal popup experiences within your Teams application. You can trigger a Task Module from a button within your personal tab. The Task Module can contain a web view of the content you want to display.
microsoftTeams.tasks.startTask({ title: 'My Task Module Title', height: 'medium', width: 'medium', url: 'https://mywebsite.com/my-page', });
For more info, you can refer to the Task Module documentation.
Thanks,
Prasad Das
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
- seanmc86Copper Contributor
Prasad_Das-MSFT thanks for your suggestion. I'll be using the non-deprecated `microsoftTeams.dialog.url` in place of this.
Is there any way to initiate these modals within the context of the existing app `microsoftTeams.app`, rather than a fully formed URL from "validDomains" ? There are naturally additional complexities to reconfiguring and relaunching a new app instance.
- Prasad_Das-MSFTMicrosoft
seanmc86 - Task Modules allow you to create modal popup experiences within your Teams application. They can be used to gather more information, display item details, or present the user with additional information.
Task Modules can be invoked from tabs, bots, or deep links and can be developed using either an iframe-based HTML page or Adaptive Cards.