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 / Populate SharePoint li...
Power Apps
Answered

Populate SharePoint list column depending on button in app

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am new to PowerApps and I would appreciate a little push in the right direction.

I have a simple SharePoint list containing an optional text-column and I need to have this field filled in automatically depending on the click of a certain button in my canvas app.

Although the user shouldn't edit the text, I added a Form on the screen, and the DataCardValue shows correctly because I fill it using Set and a variable. Submitting the form also works fine. The problem is, the field remains empty in the new item in the SharePoint list. 

So the question is: how can I fill and submit the field correctly so that it shows in the SharePoint list?

Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 

    The Update property of the DataCard controls what is submitted to the Sharepoint List.  Can you please share what code is being used within that property?

    What do you mean by optional-text column?  Is this a single-line text or a Choices Sharepoint column type?

    Your usage of the Set variable sounds fine to me at this moment.

     

    ---

    Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly.  If your thought the post was helpful please give it a "Thumbs Up."

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @mdevaney 
    - the DataCard does not have property 'Update' available!
    - the optional-text column is a single-line text

  • mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 

    Are looking at the DataCard or DataCardValue?  The DataCard is what groups together the star label, error message label, datacard value and datacard key.  Were you looking at DataCardValue?  Please post a screenshot if you still can't find it.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @mdevaney 
    My DataCard does not have a star label or error message label, see attachment.

    datacard.png
  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 

    Can you please compare my image below to your app?

     

    Click on the DataCard highlighted in Blue and change the Update property highlighted in Red to DataCardValue12.Text.  Were you able to find the Update property now?  

     

    img1.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @mdevaney 

    Thanks, I got it working because of your suggestion. The problem was that I had added the field as a View-field and I should have added it as an Edit-field. So I removed it and re-added it and the property "Update" suddenly appeared!

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard