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 / How to insert fixed da...
Power Apps
Answered

How to insert fixed data into datasource from a form

(0) ShareShare
ReportReport
Posted on by 504

 Is it possible to insert fixed or static data "Completed" to a "Status" column in Sharepoint list? I want my status column to have a value of "Completed" every time the user has successfully submitted a form.

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    If you are using Patch to submit your data, that can be included. Can you give more information on the formula you are using

     

  • WarrenBelz Profile Picture
    156,384 Most Valuable Professional on at

    Hi @nagestiada ,

    Depending where you are running this from - example below is a button in a card on a form containing the current record

    Patch(
     YourListName,
     ThisItem,
     {Status:"Completed"}
    )

     

    Please click Accept as solution 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 giving it Thumbs Up.

     

  • nagestiada Profile Picture
    504 on at

    Hi @WarrenBelz , thank you for your last help.

     

    I am just learning on how to use powerapps for a day and seems like there's not so much resources to rely on. 

     

    From your last reply, you have suggested to use this formula:

    SubmitForm(Form1);
    UpdateContext({Popup:false})

     

    so this is from a confirm button of a popup. Can I add patch where I will insert "Completed" on sharepoint list column "status?"

     

    So on my main page I will let the users know that this has been completed.
     

  • nagestiada Profile Picture
    504 on at

    I don't know what patch is, but will take a research. I have a button 

     

    SubmitForm(Form1);
    UpdateContext({Popup:false})

     

    and when I submit form1 I want the word "completed" to be insert to my sharepoint list column "Status".

    Thanks

  • Verified answer
    WarrenBelz Profile Picture
    156,384 Most Valuable Professional on at

    Hi @nagestiada ,

    If you have the Status card on Form1 and the Status in a Text Input, put this on the OnSelect of the save button - use the actual text box name in the below.

    UpdateContext([vSubmitted:true});
    Reset(YourStatusControlName);
    SubmitForm(Form1);
    UpdateContext({Popup:false})

    On the OnSuccess of Form1

    UpdateContext([vSubmitted:false});

    on the Default of the Status Text Box

    If(
     vSubmitted,
     "Completed",
     Parent.Default
    )

    This will put Complete into the Status field when the form is submitted as required.

     

    Please click Accept as solution 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 giving it Thumbs Up.

  • WarrenBelz Profile Picture
    156,384 Most Valuable Professional on at

    Hi @nagestiada ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution 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 giving it Thumbs Up.

  • nagestiada Profile Picture
    504 on at

    Hello, yes your answer worked on my app. Thank you!

  • nagestiada Profile Picture
    504 on at

    Thanks

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 401 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard