cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

EditForm sometime does not work

I create a gallery which show a list of item for user to choose to view details, and next page the edit form will show the related data.

I have this function at onSelect button "View Details" in gallery

Navigate('Details',ScreenTransition.Fade,{ id: Gallery2.Selected });

and my editform in next page , the item property already set as id.

 

I run few test, sometime the editform do not capture all the data from database...it only capture certain field.
Any solution on this problem? Any help will be great, Thank you. 

1 ACCEPTED SOLUTION

Accepted Solutions
Helper II
Helper II

It worked perfectly now, I having this problem yesterday and now it seem work perfectly, I not sure what problem causing this

View solution in original post

4 REPLIES 4
Super User III
Super User III

Hi @NeohLooi ,

Why don't you simply make the Item of the Edit Form

Gallery2.Selected

What is the purpose of passing a context variable between screens when you can simply reference its value directly?

 

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.

 

This is due to I want to align the form nicely, it has a lot of details so it look not really nice if fit into one page.

@NeohLooi 

 


@NeohLooi wrote:

This is due to I want to align the form nicely, it has a lot of details so it look not really nice if fit into one page.


 

However this does not preclude you from referencing it directly as @WarrenBelz already mentioned.

 


@WarrenBelz wrote:

Why don't you simply make the Item of the Edit Form

Gallery2.Selected

We were able to apply response given by @WarrenBelz and it is working, we can reference the Gallery from other screen without any context variable needed. Check this example below and notice how we reference Gallery from another screen without using any context variables, and notice how there is no error and it works:

 

otherscreengallery7.png

 

This is because Controls such as Gallery are not limited of scope to screen, Controls can be referenced from any screen directly.

 

So then what was the problem regarding the response by @WarrenBelz ? Please try again that same suggestion. Ours above is actually the same suggestion, only difference is we provide screenshot showing it is working. If you find out it works for you, after that we kindly ask that you accept the response given originally by @WarrenBelz as a solution (in the case that it worked). When we tested it we found out that it worked without using context variables.

Helper II
Helper II

It worked perfectly now, I having this problem yesterday and now it seem work perfectly, I not sure what problem causing this

View solution in original post

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Kudoed Authors
Users online (81,039)