cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
En1gma
Level: Powered On

From Sharepoint list to PowerApps

Hello everybody,

I'm trying to achieve this

 

i have a sharepoint list where i have:

 

Spoiler

email    |    Account ID    |    Elements   |    Check Yes/No  |   Reason   |

email1        user1                 element1

email1        user1                 element2

email1        user1                 element3

email2        user2                 element3

 

 

i need an app which will be used by a lot of users and in the app i need to show them only their records (where email is the same as the account logged-in in the app) and relative elements associated with the email.

 

e.g.

user1 is using the app and he sees only element1, element2, element3

and then he has to fill column check Yes/No and column Reason.

 

Thanks for anything you can do to help us.

Greetings.

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
JT84
Level: Powered On

Re: From Sharepoint list to PowerApps

Hey,

 

You can simply filter the items property of the gallery where you will be displaying your records. Something like this:

Filter(YourSharepointList, email = Office365Users.MyProfile().Mail)

When the user selects one of his/her items, you would want to take them through a display/edit form workflow so that they can manipulate the data

 

Hope that helps

View solution in original post

Community Support Team
Community Support Team

Re: From Sharepoint list to PowerApps

Hi @En1gma ,

Could you please share a bit more about app's configuration?

Do you want the app to only display records based on current sign in user?

 

I have made a test on my side, please take a try with the following workaround:

Firstly, you could consider generate an app based on your SP List. The generated app would like below:

8.JPG
Then on your side, set the Items property of the Gallery to following:

Filter('YourSPList', email = User().Email)

Or

SortByColumns(
Filter(
'YourSPList',
email = User().Email, /* <-- Add formula here */
StartsWith(Title, TextSearchBox1.Text)
),
"Title",
If(SortDescending1, Descending, Ascending)
)

Then within the Gallery, you could add Label controls to display the related column values (Account ID, Elements, ... etc) from your SP list.

 

More details about generating an app based on SP list data source, please check the following article or video:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/app-from-sharepoint

https://www.youtube.com/watch?v=BnYe_7fpZRM

More details about the Filter function and User function, please check the following article:

Filter function, User function

 

Please take a try with above solution, then check if the issue is solved.

 

Best regards,

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

View solution in original post

4 REPLIES 4
JT84
Level: Powered On

Re: From Sharepoint list to PowerApps

Hey,

 

You can simply filter the items property of the gallery where you will be displaying your records. Something like this:

Filter(YourSharepointList, email = Office365Users.MyProfile().Mail)

When the user selects one of his/her items, you would want to take them through a display/edit form workflow so that they can manipulate the data

 

Hope that helps

View solution in original post

Community Support Team
Community Support Team

Re: From Sharepoint list to PowerApps

Hi @En1gma ,

Could you please share a bit more about app's configuration?

Do you want the app to only display records based on current sign in user?

 

I have made a test on my side, please take a try with the following workaround:

Firstly, you could consider generate an app based on your SP List. The generated app would like below:

8.JPG
Then on your side, set the Items property of the Gallery to following:

Filter('YourSPList', email = User().Email)

Or

SortByColumns(
Filter(
'YourSPList',
email = User().Email, /* <-- Add formula here */
StartsWith(Title, TextSearchBox1.Text)
),
"Title",
If(SortDescending1, Descending, Ascending)
)

Then within the Gallery, you could add Label controls to display the related column values (Account ID, Elements, ... etc) from your SP list.

 

More details about generating an app based on SP list data source, please check the following article or video:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/app-from-sharepoint

https://www.youtube.com/watch?v=BnYe_7fpZRM

More details about the Filter function and User function, please check the following article:

Filter function, User function

 

Please take a try with above solution, then check if the issue is solved.

 

Best regards,

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

View solution in original post

En1gma
Level: Powered On

Re: From Sharepoint list to PowerApps

Thank you @JT84  @v-xida-msft 

I've done it! following your suggestions i've came up with my app.

It's working pretty well!

 

Beest regards,

Community Support Team
Community Support Team

Re: From Sharepoint list to PowerApps

Hi @En1gma ,

Have you solved your problem?

Is the solution I provided above helpful in your scenario?

 

If you have solved your problem, please go ahead to click "Accept as Solution" to identify this thread has been solved.

 

Best regards,

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

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 179 members 6,469 guests
Please welcome our newest community members: