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.
Solved! Go to Solution.
It worked perfectly now, I having this problem yesterday and now it seem work perfectly, I not sure what problem causing this
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 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:
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.
It worked perfectly now, I having this problem yesterday and now it seem work perfectly, I not sure what problem causing this
User | Count |
---|---|
229 | |
109 | |
93 | |
57 | |
30 |
User | Count |
---|---|
291 | |
126 | |
106 | |
62 | |
57 |