문제

I am creating a simple Power apps application, I need help on how to display a list content of logged in User.

Example, If the logged in User name matches the list field titled Name then display contents of that row.

도움이 되었습니까?

해결책

You can easily get the user details like Full name, Email, etc. in PowerApps using User() function.

So, all you have to do is filter a SharePoint list data source using this function based on your requirement.

If Name is Single Line of Text Field in List:

Filter('SharePoint List', Name = User().FullName)

If Name is Person or Group Field in List:

Filter('SharePoint List', 'Name'.DisplayName = User().FullName)

OR

Filter('SharePoint List', 'Name'.Email = User().Email)

Note: It is best practice to use the Email for filtering data sources as multiple users can have same full name/display name within organization.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top