web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Data saved to a ShareP...
Power Apps
Answered

Data saved to a SharePoint list not displaying when the item is viewed.

(0) ShareShare
ReportReport
Posted on by 330
I have a single line of text datacard that I want to use to display the name of the user who makes a decision/approval. The decision choice is made from a drop down. Right now when a user makes a decision, their name is captured and displayed on the text field...I then use a patch statement to save the data in my SharePoint list. This is working just fine, however if I go to view the item that was approved, the approvers name is not being displayed on the form...though the data is in the list. Here is what my setup looks like...
in the default property for my text datacard...
If(
 myForm.Mode = FormMode.New,
 User().FullName,
 ThisItem.'My Text Column'
)
and the update of this text datacard...
myColumn.Value
 
Then in the OnSelect of my dropdown, I have this..
UpdateContext({varSelectedUser:
  {
    Claims: "i:0#.f|membership|" & Lower(User().Email),
    DisplayName: User().FullName,
    Email: User().Email
  }
 }

);
I also have the value property of my control set to
varSelectedUser.DisplayName
What am I doing wrong? How do I get this to
1) capture the name,
2) patch it, and
3) display the name when the item is being viewed?
 
The first two parts seem to be working okay, but I can't get the last part to work. 
 
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    Your post to be a duplicate of this thread.
     
    Without overly complicating this, you have data in SharePoint that is not displaying in a (Modern) Text Input control in Power Apps ? I assume here that you want to also display it immediately when the dropdown is selected as well as when the record is in View or Edit Mode. If all of this is true, then the Value needs to be (using your field name)
    Coalesce(
       varSelectedUser.DisplayName,
       ThisItem.YourTextFieldName
    )
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard