cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
roknron
Level: Powered On

Sync Display for with gallery updates on same screen

I am developing an App for collecting travel logs.  I am only using 2 screens.  It is in horizontal layout.  The Home screen has a flex gallery on the left side and a display form to the right.  I am storing some DATACARDVALUE in a context variable in the control that navigate to the edit screen.  The variable is used to populate a hidden control that is caluculated on submit.  The app works mostly, but, when I want to add successive records the value of the context variable is set to the the same value of the previous record, because the display form is not updated when the gallery updates with newly added record unless I select the control that navigates to the form.  The display form's item propertie is set to gallery.selected.  How do I get the form to update when the gallery updates?

 

 

2 REPLIES 2
Community Support Team
Community Support Team

Re: Sync Display for with gallery updates on same screen

Hi @roknron,

 

What is your data source?

 

I'm not sure that I have fully understood your issue. " The app works mostly, but, when I want to add successive records the value of the context variable is set to the the same value of the previous record, because the display form is not updated when the gallery updates with newly added record unless I select the control that navigates to the form. " Can you please decribe in detail of how your app works? Maybe you can upload some screenshots for better understanding.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
roknron
Level: Powered On

Re: Sync Display for with gallery updates on same screen

The images included are of the Home screen and the input screen.  The home screen has a gallery control to the left and a display form on the right.  When you  select the + in the upper right hand side of the Home screen the value highlighted with the red bubble is assigned to sHobbs, a context variable and your are navigated to the editscreen.  The input box highlighted with the red arrow has its default property set to sHobbs.  Normally this input box is hidden.  When you select the check icon in the upper right hand of this screen SubmitForm is called followed by Back().  

 

Now when you return to the home screen the gallery updates with the newly added record, but, the form does not reflect the new record unless I select the arrow icon, because the item property of the form is set to gallery.selected.  How can I update the gallery.selected.   Alternate methods of refreshing or syncing the form with the gallery are welcome.

 

homescr.jpginputscr.jpg

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,132)