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 / Power apps not saving ...
Power Apps
Unanswered

Power apps not saving dates

(0) ShareShare
ReportReport
Posted on by 13

in my project I have a date and time calendar that is to let users be able to input their dates by clicking the edit button.

alhud198_0-1701451021995.png

 

However once the user chooses a date and clicks the checkmark it simply goes back to the default dates that are on there.

 

alhud198_1-1701451379730.png

 

what is needed to be changed or added so the dates can be saved?

 

alhud198_2-1701451506788.png

 

Categories:
I have the same question (0)
  • OdinDelToro Profile Picture
    407 on at

    Hello @alhud198 ,

     

    Just to be sure, when user is on edit mode and selecting the date, are they clicking on Ok within the calendar?

    OdinDelToro_0-1701461946732.png

     

    Hope this helps clarify the doubt, let me know in case you're still facing an issue within it.

    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.

  • alhud198 Profile Picture
    13 on at

    yes they click on OK it shows the new date put in, but once they click the check after editing the date , it does not save the date.

  • OdinDelToro Profile Picture
    407 on at

    Hello @alhud198 ,

     

    Could you please provide the snippet of the power fx formula used within the submit button and the update of the date data card?

  • OdinDelToro Profile Picture
    407 on at

    Hello @alhud198 ,

     

    Another QQ, have you checked the value on the data source, does it get updated after the submit or how it appears?

  • alhud198 Profile Picture
    13 on at

    SubmitForm(Form1)

     

    UpdateContext({ selectedRecord: RecordsGallery1.Selected, editMode: true })

  • OdinDelToro Profile Picture
    407 on at

    Hello @alhud198,

     

    Can you test by changing the update property to the datacardvalue assigned to the date with a DatacardValue.SelectedDate 

     

    For example, in this case for the Travel start date the update would be DatacardValue12.SelectedDate.

    OdinDelToro_0-1701463242916.png

    OdinDelToro_1-1701463332260.png

    In your case would be: 

    UpdateContext({ selectedRecord: DatacardValue.SelectedDate, editMode: true })

     

    Hope this helps clarify the doubt, let me know in case you're still facing an issue within it.

    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.

  • alhud198 Profile Picture
    13 on at

    So for my tour start date to be saved I just need to

     

    alhud198_0-1701464048072.png

    UpdateContext({ selectedRecord: DatacardValue.tourstartdate, editMode: true })

     

  • OdinDelToro Profile Picture
    407 on at

    Hello @alhud198 ,

     

    Please, expand the card by clicking on the right arrow. There you'll be able to visualize the datacard. You need to include on the update property of Tour Start Date_DataCard1 --> UpdateContext({ selectedRecord: "Nameofdatacardvalue".tourstartdate, editMode: true })

    OdinDelToro_0-1701464222574.png

     

    For example, on the scenario shared before it will be --> UpdateContext({ selectedRecord: DataCardValue12.SelectedDate, editMode: true })

    OdinDelToro_2-1701464522345.png

     

  • alhud198 Profile Picture
    13 on at

    alhud198_0-1701464802338.png

    UpdateContext({ selectedRecord: RecordsGallery1.Selected, editMode: true })

     

    so the thing that would need to be added to this would be something like so?

    UpdateContext({ selectedRecord: RecordsGallery1.Selected, datevalue1, editMode: true })

  • OdinDelToro Profile Picture
    407 on at

    Hello @alhud198 ,

     

    It would be UpdateContext({ selectedRecord: DateValue1.SelectedDate, editMode: true })

     

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

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard