cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate III
Advocate III

Re: SharePoint columns of 'person or group'-type missing

I can use person columns in datacards, but cannot set a global variable to pick up the full value of a multi-value person column (only returns first person), nor can I add even a single value person column value to a collection.
Highlighted
Regular Visitor

Re: SharePoint columns of 'person or group'-type missing

Unfortunately, data of person column isn't shown from yesterday. Does anyone knows the solutions?
Highlighted
Power Apps
Power Apps

Re: SharePoint columns of 'person or group'-type missing

This is a known issue. Sharepoint column of "People only" type do not show up in a combo box. The fix will be forthcoming soon.

Highlighted
Regular Visitor

Re: SharePoint columns of 'person or group'-type missing

Thanks for the infomation. I only hope it will be fixed soon.
Highlighted
Power Apps
Power Apps

Re: SharePoint columns of 'person or group'-type missing

The fix has been deployed. If you have already published an app with the bug, you will have to open the app in PowerApps Studio and re-publish to get the fix. We apologize for the inconvenience and are reviewing how we can prevent similar incidents from happening in future.

 

Please let me know if you still are having problems with this issue.

Highlighted
Frequent Visitor

Re: SharePoint columns of 'person or group'-type missing

I am trying to get the Email of a Person in a People/Group column in a SharePoint list.

On the generated 'Details' Screen, there are 'Edit' (IconEdit1) and 'Delete' (IconDelete1) icons at the top of the screen. I want to hide those icons for everyone except for the 'Administrator'. 

SharePoint List: Events

People/Group Column Name: Administrator

(In the Sharepoint List Administrator column, I have entered myself as the value)

 

I have the following code in the 'IconEdit1' and 'IconDelete1' Visible field:

If(User() = Events.Administrator,true, false)

 

The icons are hidden from me and I get the following error: Invalid argument type. IconDelete1.Visible (same for edit)

 

I suspect that the data values (tables?) are different between User() and Events.Administrator, causing the mismatch.

I tried the following: If(User().Email = Events.Administrator.Email, true, false)

with the following additional error: Name isn't valid. This identifier isn't recognized. This error appears most commonly when a formula refers to something that no longer exists (for example, a control that you've deleted). Location: IconDelete1.Visible

 

I know that User().Email is working, as both User() and .Email were auto-suggested in PowerApps as I typed them. Events and .Administrator both auto-suggested as well, but then adding the .Email at the end DID NOT auto-suggest, indicating that this is where the problem is. I suspect that calling Events.Administrator is returning an object of some sort that relates to a person. How do I then query this object for an email?

Highlighted
Kudo Collector
Kudo Collector

Re: SharePoint columns of 'person or group'-type missing

@Joseph1 Hi, you want to use the on visible property of the buttons and change their values from true/false to an if statement, something like if(User().Email = myAdministrators@email.com,true,false)

Highlighted
Frequent Visitor

Re: SharePoint columns of 'person or group'-type missing

Yes, but where you have 'myAdministrators@email.com, I want to reference a sharepoint list (called 'Events') with a People/Group column (called 'Administrators'). I want to test against the email property from the People/Group columns value.

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,325)