I would like to apply the [Configure back button] of my personal bot.

Copper Contributor

https://learn.microsoft.com/ko-kr/microsoftteams/platform/concepts/design/personal-apps#use-a-person...

 

I would like to apply the [Configure back button] of the personal bot shown in the documentation.

Where should the code be applied?

I have now created a new tab/bot with Teams Toolkit and debugged it, but I am unable to proceed beyond that.

3 Replies

@Min-Kyu_Jo - You can add the code to handle the back button action in the component or page where you want the back button to be displayed. Typically, you would add this code in the component that represents the view where the back button should be available.

Implement the logic to handle the back button click event. This logic should navigate the user back to the previous page or view within your app.

 

Sample code ref: https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/40cbc1dc61728d997c2d138dece5053fa5072041/s...

 

 

 

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. 

hello @Prasad_Das-MSFT 

First of all, thank you very much for sharing your great code.
However, I don't have any background knowledge, so I want to test it before proceeding.

Testing is not possible in Teams Toolkit.
I'm getting an error. Can I get help?

@Min-Kyu_Jo - Could you please let us know what error you are getting?