Hello everybody,
I'm trying to achieve this
i have a sharepoint list where i have:
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.
Solved! Go to Solution.
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
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:
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,
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
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:
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,
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,
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,
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
207 | |
193 | |
82 | |
58 | |
38 |
User | Count |
---|---|
303 | |
247 | |
119 | |
83 | |
55 |