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

Easy One - How to have the 'display form' to display info of current user

Hi Experts

 

This is a easy one - I'm sure although I'm not able to get it right.

 

I'm using form control - 'display form' (just to display information)

I would like 'display form' to show information from sharepoint list of the items that current user added

 

If logged in user have not added any info then it should be blank.

Later i can customize the field i want to show, any help here is appreciated 

1 ACCEPTED SOLUTION

Accepted Solutions
eka24
Super User III
Super User III

Consider this on the Item property of the form:

LookUp (Datasource, UserColumn = User().Email)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

 

View solution in original post

10 REPLIES 10
eka24
Super User III
Super User III

Consider this on the Item property of the form:

LookUp (Datasource, UserColumn = User().Email)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

 

View solution in original post

AshishJaiswal
Helper V
Helper V

@eka24 

The formula works but it isn't displaying any details? And my sharepoint list has items in it for this current user

 

AshishJaiswal_0-1620389734028.png

 

Do you have email in the Title Column?

 

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

AshishJaiswal
Helper V
Helper V

@eka24 

Still no data showing up - I changed to a different column name where i have email address 

AshishJaiswal_0-1620391784016.png

 

What Table is connected to the Form as the Datasource

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

AshishJaiswal
Helper V
Helper V

@eka24 

 

Data source is a sharepoint list sir 

Can you show the screenshot of the Datasource for the form as you did for the Item property.

 

It seems your form is not connected to any Datasource

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

AshishJaiswal
Helper V
Helper V

@eka24 

AshishJaiswal_0-1620396680400.png

 

Connect the SharePoint list to the Datasource of the form inside power Apps. 

Just as you put the formula on the item property, put the name of the SharePoint list on the Datasource of the Display Form.

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

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