Deeplink to PowerApps within Teams Tab is Not Working
I have been building an application with which users can read, edit, post, delete diaries.
I encountered a problem that cannot be solved on my own.
[Basic Information] Sharepoint lists are used as Database. All records have unique ID. The application is used within Teams tab in a Team's channel.
The application posts an message when a diary is created or edited to a channel. The message contains a link that is deeplinking to the record created or edited. Deeplinking specifies a record using LookUp() with the unique ID embedded in the Teams-tab application URL. ("subEntityId")
[Problem] Everything works fine except one thing: Deeplinking to a specific record is not working properly.
When the link is clicked, the record specified by the unique ID is supposed to be shown. When the screen is presented, actually I can see the unique ID and some fields are shown correctly.
However, some fields are missing. All fields should be presented or missing at least because LookUp() function is used.
Moreover, when the link is posted because a user edited an existing record, the link leads to a record whose fields are not updated. This phenomenon seems to make no sense, because the record is read from the DB right at the time when the link is clicked and by that time the database has already been updated.
Does anyone have any idea of what is happening, or tell me what to do.