tab
16 TopicsContent security policy headers teams migration to cloud domain
With this new migration of Microsoft cloud services to i.e. MS teams to teams[dot]cloud[dot]microsoft , I have a question for simple tab apps built on react for teams , our app is launched directly from the URL we have given in the manifest JSON file , so where do we put the CSP(content security protocol) headers , or , are they at all required for such use cases similar to ours ? Microsoft Teams389Views0likes0CommentsIssue with Planner within Teams Preview Channel Tabs
Hi, Is anyone else experiencing this error when trying to access Planner from a channel tab? "Error loading user settings. Please try again. If this continues please contact customer support." Has anyone found a way to get around this? From testing, the error doesn't come up when accessing Planner directly from the Tasks by Planner app. It's only happening when trying to access Planner from a channel tab. This also doesn't happen when accessing the tab from the regular desktop or online versions of Teams, just with the preview. My device has been restarted multiple times, and the app is up to date. I've quit it and restarted the app just to make sure. If there are any other troubleshooting steps that you've found helped please let me know.Storing persistent data associated to Teams user
I am developing a Teams Tab App where the user needs to authenticate using an external API which sends back a token. As the tab is reloaded everytime it is exited and entered again, the user would need to authenticate again. I would like to store this token somewhere. localStorage is an option, but it would be even better if I could store this token in some kind of storage associated to the Teams user using the app, so, for example, it does not need to relogin when switching from Team in web to Team standalone app. For this, and for other use cases, I would like to know whether it is possible to store data associated to the Teams account that is using the app, so it can be later retrieved (something like a localStorage but associated to the account). I have already had a look at this thread https://techcommunity.microsoft.com/t5/teams-developer/is-there-a-way-to-store-retrieve-persistent-data-in-teams-tab/m-p/1544749#M1549 but I don't see how getContext (as the answer says) can help me with my task. An explanation on this if it's possible will also help. Thank you2.9KViews0likes5CommentsTabs Running in Background
Hello, As I am aware (and please correct my if I'm wrong), the tabs from the tab Apps in Teams stop "executing" when you switch tab (as if you closed the tab in a browser), and reload when you switch back to them. For an App that we are making, it would be useful if there was any possibility of running a tab in the background, like when you have a tab opened in your browser. Therefore I would like to know whether any of the following is possible: Keep a tab running in background, as explained before Allow a popup window/tab/whatever that keeps some task running in the background while the user explores other tabs/apps inside Team Thank youSolved2KViews0likes1CommentURL to Organisation tab of particular person
Hello, is there any way how to open Teams on Organisation tab in chat? I can easily open chat with any person: <a href="MSTeams:/l/chat/0/0?users=username@domain.cz">Chat</a> But I can't find a way how to jump directly to tab Organisation in chat. Any ideas please? ThanksSolved3.4KViews0likes4CommentsInternal url's not recognized
Hi, Trying to setup a Teams channel for software dev below our general company channel, I wanted to add a "Website" Component to the new channel. Unfortunately Teams does not identify correctly internal urls. Ex for the JIRA server : "http://servername:8080/issues/" is not recognized, meaning I cannot click save. If possible, ideal url to accept would be more like : http://servername:8840/issues/?jql=project%20%3D%20SOFT%20ORDER%20BY%20issuetype%20ASC%2C%20priority%20DESC Any way to bypass this irrelevant restriction on urls ? Thanks.Solved2KViews0likes4CommentsIs it possible to create a popup window from MS Teams Tab application?
Hi everyone! We are developing an MS-Teams application in the form of tabs. We are exploring the possibility of bringing the feature for the calls to go through WebRTC. We have our own sdk and Web gateway for audio and video calls. The requirements for the desktop client solution are as follows: To allow users place audio, video calls within MS Teams app through WebRTC. To keep the call "up" even if the user navigates to the different MS Teams tab (like Calendar or chat). To create a call interface that is as similar as possible to the MSTeams call interface. To use the same media (mic & camera) settings an user has configured in MS Teams (settings -> Devices section). What we have achieved so far: Get the microphone & camera permissions and access the media devices. Place a call using our SDK with WebRTC. (In main Tab window) Get the incoming call and accept / drop it. (In main Tab window) What we struggle with: To avoid ending the call when the user navigates to another page in MS Teams, we want to create a new window for the call interface when the call starts. Since the window.open is not allowed in Tabs (https://github.com/OfficeDev/microsoft-teams-library-js/issues/171) - we have tried to use microsoftTeams.authentication.authenticate or microsoftTeams.tasks.startTask. Unfortunately, these options do not meet our requirements: With microsoftTeams.authentication.authenticate, the child "authentication" window closes as soon as the user closes the main tab window. With microsoftTeams.tasks.startTask, the tasks iframe window is placed above tab main window. We also aware about the MS Teams "Pop out app" feature. But we didn't find a way to trigger it programmatically from the Tab app. In addition, in the "pop-out" mode, the navigation bar with Tabs About links is available and this is not what we are looking for. Could you please help us with determining our options / capabilities regarding creating a separate window from MS Teams Tab app? Is there any option to trigger "Pop out app" action programmatically, hiding the tabs links? Has anything changed in the MSTeams infrastructure since the response to this issue https://github.com/OfficeDev/microsoft-teams-library-js/issues/171? Could you please confirm that our requirements currently not achievable with MS Teams? Thanks in advance.5.4KViews0likes2Comments[Question] Notification and keep personal app state
Hi everyone, I'm starting to build personal tab app. What I wanted to achieve is to have the app a notification. Here's a scenario, I open the application on the left side navigation and do some operation, then I switch other app like chat. If something happened to the application the application will show a notification similar to activity feeds. Then, I'll open it again but the application should not be reloaded or refresh. So basically does the microsoft custom apps offers the personal tab app to remain its state(without refreshing/reloading) when switching between application, and have notifications similar to notification new feeds? If possible, I also wanted to have control about the visibility of the notification inside the application, for instance, even though the application is already open I want the notification to remain visible. Is the above functionality possible? Please let me know. Thank you.2.5KViews0likes4CommentsHow to get the channel id via PowerApps Form that is located in the Teams Tab
I will design a PowerApps form. I would like to put it into any channel tab. I will show the related information of the current channel from SharePoint via this PowerApps form. How can I get the channel Id and send it to the PowerApps form?Solved6.2KViews0likes4CommentsmicrosoftTeams.authentication.authenticate does not close popup, neither success nor failure message
I am using microsoftTeams.authentication.authenticate way of authentication, with popup 1. everything is fine and popup appears with sepcified URL 2. authentication is completed and it returns to my redirect URL with url parameters after I am calling microsoftTeams.authentication.notifySuccess('message'); but popup remains opened and doing nothing. am I need to do something to manually close popup or it should close automatically? popup function export const requestConsent = (res) => { return new Promise((resolve, reject) => { microsoftTeams.authentication.authenticate({ url: res, width: 600, height: 535, successCallback: function (result) { resolve(result) }, failureCallback: function (reason) { if (typeof reason === 'string') { reject(reason) }; } }); }); } callng function requestConsent(resLocal) .then((result) => { dispatch(setToken(result)); console.log(result); }) .catch((error) => { dispatch(setSnackbarMessage(error)); console.log(error); }) .finally(resFinal => console.log(resFinal)); and finally calling microsoftTeams.authentication.notifySuccess microsoftTeams.initializate() is called as well, in project root file.2KViews0likes1Comment