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 Patch date sele...
Power Apps
Unanswered

How to Patch date selected?

(0) ShareShare
ReportReport
Posted on by 1,994

Hi

 

I have a date for user to select and a description text box in  form

 

Can i know how to patch the selected date and description text?

DatacardValue 15DatacardValue 15

 

is it Patch('list', ThisRecord,{Date: DataCardValue15.Selected.value,  Description: Datacard.Text)}


Thanks.

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

    Hi @bbsin 

    Patch(List, Defaults(List), {Date: DataCardValue15.Selected.value,
    Description: Datacard.Text} )

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

    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.

    Consider Checking My YouTube Channel 

  • eka24 Profile Picture
    20,925 on at

    @bbsin 

    Just to follow on this post, does it solve your request

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

    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.

  • bbsin Profile Picture
    1,994 on at

    hi @eka24 

     

    the  Defaults(Lis)

    Patch(List, Defaults(List), {Date: DataCardValue15.Selected.value,
    Description: Datacard.Text} )

     

    is creating a new record.

     

    I want to update existing record selected in the Gallery which open in FORM.

     

    I can't get it working.. may I know what is the syntax to update the currently record selected from the gallery??  Thanks

     

    The ThisItem or This Record cannot be put into my patch.  Am i missing something?

     

    Currently when I click on record from Gallery it open in FORM 

    Patch('Iist', Gallery5.Selected, {Date: DateDatecard.SelectedDate, Description:Despinput.Text})

    the selected gallery also create a new record.  Please advise. thanks

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

     

    1.png

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 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard