Can't find this anywhere in the documentation, where are the user settings stored? In Liquid tags you can do:
{{ user.fullname }}
and it will tell you the full name of the user that is currently logged in.
I want to be able to get more user metadata such as the Company Name that the user is associated with in the Contacts entity. So I looked at the contact table and found this:
Then I tried using:
{{ user.parentcustomerid }}
but it gave me an error saying "Liquid error: contact With Id = 195c4da7-32ee-4179-a58e-3c8c5cc5aa93 Does Not Exist".
How do I go about getting the Company Name of the currently authenticated user in the Power Apps Portal?
Hi @OkayGoogle,
User liquid tag is pointing to the contact record of the current portal user (see more details in official doc here). user.parentcustomerid will return an entity reference (lookup) object (see here) so to get the name of the account you will need to use user.parentcustomerid.name.
WarrenBelz
146,786
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,093
Most Valuable Professional