cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SandraAkujobi
Post Partisan
Post Partisan

inputs not being saved in the app

I'm creating an app where users put in their job bookings, I'm just having a little trouble where when you save those bookings they are saved in the view all details screen but when you want to edit what you saved those edits aren't saved. In the view all screen I have three button that represent weekly bookings, monthly and all bookings, so the items function is colPeriod. On the booking for the forms item is gallery1.selected and I'm not sure if that's where the issue is. Also when I want to try and edit bookings again the edit icon disappears making it unable to edit change.

2 REPLIES 2
FabianAckeret
Super User
Super User

Hi @SandraAkujobi 

 

Your assumption is probably right.

Where do you save the bookings to? SharePoint? CDS? SQL?

 

I assume upon submitting the changes, it will save the changes directly to the source, but not to the colPeriod collection? If that's the case, it would explain why when clicking on the edit icon, it will just load the "old" item. That's the one in the colPeriod collection.

 

You can overcome this issue by updating the colPeriod collection on the submit button when editing the item. If you don't know how, simply copy the submit code of said button here and I'll help you modify it.

 

I hope this helps.


Please click Accept as Solution if my post answered your question. Like my answer? Consider giving it a Thumbs Up. Others seeking the same answers will be happy you did.


Please click Accept as Solution if my post answered your question. Like my answer? Consider giving it a Thumbs Up. Others seeking the same answers will be happy you did.

@FabianAckeret I'm quite sure by what you mean submit code. SubmitForm(Form1);ResetForm(Form1);Set(VARSave,false) this is what's in the formula box for the save icon.

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,304)