Hi all,
I have a canvas apps application, in the application, I have a button. I want to make a function that triggers when the button is pressed. the function (using flow) has to create a new record (in another table), after creating a new record the function must navigate to the record created by the flow.
I know how to make a new record from flow, but I don't know how to navigate to another page and open the record on another page and show the record like the picture below.
Solved! Go to Solution.
Hi @Anonymous ,
According to your description, I've made a test for your reference:
1\ Build an instant flow:
2\ Create a screen ‘Screen2’.
3\ Create a button control in screen1 and set its onselect property to:
Set(Thevar2,TEST33.Run().thevar);Refresh(LIST86);Navigate(Screen2)
// TEST33 is the name of flow
4\ Add a form control in screen2 and set its Datasource property to:
LIST86
Set the form control’s Item property to:
LookUp(LIST86,ID=Value(Thevar2))
5\ The result is as follows:
Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.
Hi @Anonymous ,
Without knowing details...I think after your flow you can update a gallery where all of your records are stored and then make the newly created a top one, so it will be always considered as "selected". Therefore you can navigate to the page which is showing selected "ID"
hi @lenro,
Thanks for the answer, I think you got my problem. how can I select the item in the gallery if the item not in the first position?
Hi @Anonymous ,
If it is not first or last on gallery, then you need to know what is written in this record and filter on it
Hi @Anonymous ,
According to your description, I've made a test for your reference:
1\ Build an instant flow:
2\ Create a screen ‘Screen2’.
3\ Create a button control in screen1 and set its onselect property to:
Set(Thevar2,TEST33.Run().thevar);Refresh(LIST86);Navigate(Screen2)
// TEST33 is the name of flow
4\ Add a form control in screen2 and set its Datasource property to:
LIST86
Set the form control’s Item property to:
LookUp(LIST86,ID=Value(Thevar2))
5\ The result is as follows:
Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.
User | Count |
---|---|
257 | |
110 | |
97 | |
57 | |
40 |