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 / Patch Input box to Sha...
Power Apps
Answered

Patch Input box to SharePoint

(0) ShareShare
ReportReport
Posted on by 42

Hi everyone!

 

This is my first project where im trying to build a canvas app, everything's working fine.

But i got one last problem where i need to patch the value in a input field to the sharepoint list.

 

The scenario:

User types in a time in textfield_input and this value should go into sharepoint column with the name: time.

 

EDIT:

I just found out that i should use patch to send the value to the sharepoint list.

 

As i said its a time that they should input in the box eg: 14:00, 15:00; 16:30. This value here should patch to a column named time

 

My sharepoint list is named: Convert

 

i got this formula before the patch one, and in property OnSelect  SubmitForm(Form2);ResetForm(Form2);ResetForm(Form_time);Navigate(Success);

 

Patch('Convert', LookUp('Convert'),ID='Time'.selected.id, {'users_entry': Value(TextInput_Time.Text)})

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    Hi @SteefQ ,

    I am not entirely clear here, but if you are wanting to patch to the same record you just submitted on the form, then on the OnSuccess of the Form

    Patch(
     'Convert', 
     {ID: Self.LastSubmit.ID},
     {'users_entry': Value(TextInput_Time.Text)}
    )

     

    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.

    Visit my blog Practical Power Apps

     

  • SteefQ Profile Picture
    42 on at

    Sorry English isn't my first language, maybe its better if i attach picture.

     

    I want the value in Time that says 00:00 to go into a SharePoint list(column is named: Time)

    The sharepoint list is named "Convert" when i press submit 

     

    SteefQ_0-1653340591656.png

     

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

    Hi @SteefQ ,

    I am still unclear on this - is this the same list that the form is submitting to ? Also are you patching to a numeric or text field ?

  • SteefQ Profile Picture
    42 on at

    Hi again,

     

    Its the same form,

    i got one Sharepoint list where everything is saved, this one should go to a column named: time wich is a number-format

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

    @SteefQ ,

    If that is the case, go back to the post I did OnSuccess - this will write a number to the Time field in the record you have just submitted with the form.

  • SteefQ Profile Picture
    42 on at

    Sorry, as i said im pretty new ill attach a photo of my app and i dont think thats its inside of a form as i can see?

    In wich "content" should i put the formula in? or should i redesign it?

     

    SteefQ_1-1653346851562.png

     

     

     

  • SteefQ Profile Picture
    42 on at

     

    I found where i should put it, but now it gives me an error

    The patch feature has some invalid arguments
    the argument type does not match

     

    EDIT:

    I solved the error, but it dosnt send anything to the column in SharePoint

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

    Hi @SteefQ ,

    Can you please remember to post your code (in Text) that is not working for you and where you are using it.

  • SteefQ Profile Picture
    42 on at

    Hi!

     

    Sorry for taking your time.

     

    But its working, i had wrong inputs!

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
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard