cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

Gallery from sharepoint

 

 

 Hi

I read with great interest how to create forms from sharepoint list (Sharepoint powerapps forms). But I need to display record in gallery and I have a great problem to make it works with a SharePoint Person Or Group column (in my case members of sharepoint, creating record). 

Also, the correct syntaxt for filter and/or field is not well known. Some tell us to add .value to item.<Field>.value, but it isn't working. Searching or filtering isn't working. In my case:

 

SortByColumns(Filter(Activites; StartsWith(Person;DateActivity;Activity; TextSearchBox1.Text)); "DateActivity"; If(SortDescending1; Descending; Ascending))

 

I'm disappointed that creating powerapps application directly from sharepoint creates a wrong code.

Do you have any help for me ?

 

1 ACCEPTED SOLUTION

Accepted Solutions

Person or Group column is not just one value. Instead, it is a table with several attributes (DisplayName, JobTitle, Department, etc). That's why the gallery cannot display the value if you only call the name of the column.

 

You have to provide the name of the column and the attribute to display on the field. Eg:  IADE.JobTitle or IADE.DisplayName; ThisItem.IADE.DisplayName

View solution in original post

4 REPLIES 4
Community Support
Community Support

Hi @JimNoredlac,

 

<Field>.value is for Choice column, if it is a person and group column, then you should use the parameter in the drop list after you typing "<Field>.":

Capture.PNG

 

In my case, I'm using below formula and this works for me:

SortByColumns(Filter(ListList, StartsWith(Person.DisplayName, TextSearchBox1.Text)), "ComplianceAssetId", If(SortDescending1, Descending, Ascending))

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

That's not working for me.

I made some screenshots to be clear:

Here's the column named IADE in my list, a list of office 365 users of this apps, formatted like a person columnCapture d’écran (7)_LI.jpg

 

 

 

 

 

 

 

 

 

 

 

In powerapps, the gallery is not working with a message "property waiting text value, but this rule products table data".

I've tried all sort of syntaxt. None is working. Do I need to create another text column taking the value of "IADE" column?

 

Capture d’écran (13)_LI.jpgCapture d’écran (14).png

 

Thanks.

 

 

I think the problem is related to person or group column. I'm unable to create a calculated column to convert this field to text one.

Person or Group column is not just one value. Instead, it is a table with several attributes (DisplayName, JobTitle, Department, etc). That's why the gallery cannot display the value if you only call the name of the column.

 

You have to provide the name of the column and the attribute to display on the field. Eg:  IADE.JobTitle or IADE.DisplayName; ThisItem.IADE.DisplayName

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (8,211)