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

Add current use details to Sharepoint list

Hi All

 

I have a Power App which submits information back to a SharePoint list when a 'Submit' button is pressed. Is there a way I can also send the Power App user details back to the SharePoint list (possibly name & email address)? There could be up to 6 different users and I would like to see who has submitted the information.

 

Hopefully easy but probably not.

 

Thanks

LA

1 ACCEPTED SOLUTION

Accepted Solutions
v-liwei-msft
Community Support
Community Support

Hi @lascough20 

 

Could you please tell me:

Do you have a column for the current user's name or email in your list?
I'm assuming you have such columns and are text columns.
You can use the User function, which will provide the current user information (including name and email)

User function in Power Apps - Power Platform | Microsoft Learn

 

Best Regards,

Levi

View solution in original post

4 REPLIES 4
Akser
Solution Sage
Solution Sage

Hi @lascough20,

 

Is there a reason why you don't want to use standard SharePoint column called 'Created By' which has both the Name and Email?

lascough20
Helper I
Helper I

I thought it was that simple but for some reason the column does not display anything.

v-liwei-msft
Community Support
Community Support

Hi @lascough20 

 

Could you please tell me:

Do you have a column for the current user's name or email in your list?
I'm assuming you have such columns and are text columns.
You can use the User function, which will provide the current user information (including name and email)

User function in Power Apps - Power Platform | Microsoft Learn

 

Best Regards,

Levi

lascough20
Helper I
Helper I

Hi @v-liwei-msft 

 

Apologies, I've not been around to reply. I've managed to sort this out now, thanks for your replies.

 

LA

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,392)