Hi All
I am developing an application for the first time in power apps.
In this application, I am trying to send a message by giving a star to a user on the microsoft team. I am able to send this message to users on the team as a notification using a manual trigger. I am also sending a link in this message and allowing the user to respond to this message with this link.
When the user clicks on the link, I am trying to direct the user to a page where they can respond. I manage which page will be redirected in the OnStart and StartScreen events.
OnStart
Set(
ratedUserScreenGuidValue,
If(
Param("Screen") = "ratedUserScreen",
Param("guidParam"),
""
)
);
StartScreen
If(
!IsBlank(Param("Screen")) && Param("Screen") = "ratedUserScreen",
ratedUserScreen,
homePageScreen
)
The link I sent in the message is as follows.
https://teams.microsoft.com/l/entity/<appId>?tenantId=<tenantId>&guidParam=0233d61f-68f0-4fb2-941c-61e497e2b652&Screen=ratedUserScreen
But when this link is clicked on microsft team, the Param("Screen") and Param("guidParam") values ​​in the OnStart event are always empty.
What should I do? Can you help me please?
Note : All is working when I copy the link to the web browser and parameters come with the values. I would like the application that I published to Teams to open. not on web browsers. The application opens but it does not redirect because the parameters are empty.
Thanks in advance