Hi
I've built PowerApps for sometime and just started to venture into Power Pages.
As a first step I'm trying to split out front desk (using Power Pages) and back office (using PowerApps), sharing a common Dataverse environment. (For the moment Power Pages will be used for 'lighter' applications and the heavy work to be done in PowerApps.)
Within PowerApps I can use the Office365Users connector to identify the user and use this to look up various user values e.g. Line Manager.
The Power Pages site will require all users to authenticate to access some areas.
Importantly, I need to be able to retrieve the user details and then pass this to filters to extract information relevant to the user only.
I also need to be able to extract values from one table (say UID) and pass this to a field in another table.
From what I can find out it appears that Liquid will do what I need.
However, the information I've found so far is a bit like picking up a book with the first two chapters missing.
The information on Microsoft learn is useful as long as you know where to put the liquid code in the first place.
For example, this snippet {{ page.title }} is supposed to display the page name on the page but where to you paste the code?
My initial (urgent) requirement is to:
1. Identify the logged in user (maybe use this in a welcome message e.g. Hi {{ user }}, welcome to the site) - this also confirms the user is identified.
2. Assuming that the user identity includes their email address, use this to match and pull their record from a Dataverse table.
3. Use the user UID from the Dataverse table and pass this as the foreign key to fields in other Dataverse tables.
I've probably missed the obvious but I doubt that I'm the only one figuring out the details.
Thanks in advance.