Forum Discussion
ManikantSingh
Aug 10, 2020Copper Contributor
How to load Component in App interface of teams apps
I have developed one task module in Teams Apps which help me to log-in the user. After Successful logged-in, submitTask method is being called for closing task module. in mean while I am also fetching data from Back-end to display App interface after successful logged-in. but data is updating in task module not in App interface. Please help me what snap code is required for this issue in ReactJS and typescript.
- Nikitha-MSFT
Microsoft
ManikantSingh - Are you trying to display the result using bot or tab on submit Could you please explain your scenario in more detail?
- ManikantSinghCopper Contributor
Nikitha-MSFT Thank you for replying. Below is exactly requirement
Requirement:- Show one tab along with login button in App interface. When click on log-in button,show one task module for user log-in and when click on submit on user log-in task module,close the pop-up and update data in App interface.
When log-in API is responding session-id, I am calling another API to get data using session-id which is used to show in App interface. Now this data is updating in user log-in task module
- Nikitha-MSFT
Microsoft
ManikantSingh - Are you trying to authenticate user? If so could you please check this sample?