Jul 24 2020 02:41 PM
What is the simplest way to store persistent data in my Teams app tab? I have an integer value, which I would like to maintain in one of my tabs. This value can change so I need some way of storing it. I would like the ability to retrieve this value in my tab after Teams is restarted.
Is this possible? Can someone point me to a snippet of code, which stores and retrieves persistent data?
Thanks.
Jul 26 2020 11:29 PM
Solution@George71 You can use Get Context for your tab, this will return the tab context data, if you are willing to pass this value in tab URL you can also do that, you will get that for sure. Please look at get context for your tab using Teams client SDK. You can also use getSetting and setSetting method for creating a configuration page.
Jul 31 2020 06:20 AM
Jul 26 2020 11:29 PM
Solution@George71 You can use Get Context for your tab, this will return the tab context data, if you are willing to pass this value in tab URL you can also do that, you will get that for sure. Please look at get context for your tab using Teams client SDK. You can also use getSetting and setSetting method for creating a configuration page.