Teams App lifecylce questions and approach for external callbacks
Hi all,
i have started writing a teams app that mainly will display a (on board) angular application in a static tab. This application will connect to an external service via REST and register for some push updates which will be displayed in some table/cards. The user has to initially enter username and password which will be different from Teams/365 credentials.
What i would like to achieve is that directly after teams has started, the application registers the user for the push updates, without the user having to click on the app or activate the tab. I would then like to send a message to the user or to his activity feed that an update has been received whenever the angular application receives a push update.
So the main questions are:
Is any part of the app initialized directly upon starting teams? Some static scripts possibly? I assume the full angular app will only be loaded upon loading the tab?Would it make more sense to work with bots here?Assuming we want to be able to use the app in outlook as well, is there a unified API that allows to notify the user? Since outlook does not have an activity stream or chat messages, would things like toasts work?
Thanks for reading so far!
Greetings,
Florian
Hi all, i have started writing a teams app that mainly will display a (on board) angular application in a static tab. This application will connect to an external service via REST and register for some push updates which will be displayed in some table/cards. The user has to initially enter username and password which will be different from Teams/365 credentials. What i would like to achieve is that directly after teams has started, the application registers the user for the push updates, without the user having to click on the app or activate the tab. I would then like to send a message to the user or to his activity feed that an update has been received whenever the angular application receives a push update. So the main questions are:Is any part of the app initialized directly upon starting teams? Some static scripts possibly? I assume the full angular app will only be loaded upon loading the tab?Would it make more sense to work with bots here?Assuming we want to be able to use the app in outlook as well, is there a unified API that allows to notify the user? Since outlook does not have an activity stream or chat messages, would things like toasts work? Thanks for reading so far!Greetings,Florian Read More