hello all,
i have a canvas app with a single screen named : "Screen" and there is a form named "New"
i have a canvas app with a single screen named : "Screen" and there is a form named "View".
and the reason is when i call the app to open the item which i want to View.
what i would like to do is to create a new canvas all which will combine both screens "New" and "View". When they press the link to go to new but when they press an item with ID to then go to the "View" screen.
i believe i have to change the APP formula but i dont know how and this is what i have tried till now:
If(!IsBlank(Param("ID")),Set(varID, Param("ID"));Navigate(ScreenNew,ScreenTransition.Fade);
LookUp('Desktops Laptops',ID = varID)); Navigate(ScreenView,ScreenTransition.Fade);
thank you
@ganeshsanap worked as a charm... thank you
@kouliscon Follow below approach:
Considering you have two screens: ScreenView & ScreenNew. Use below formula in onStart property of app:
If(!IsBlank(Param("ID")), Set(varID, Param("ID")); Navigate(ScreenView, ScreenTransition.Fade), Navigate(ScreenNew, ScreenTransition.Fade));
OR
If(IsBlank(Param("ID")), Navigate(ScreenNew, ScreenTransition.Fade), Set(varID, Param("ID")); Navigate(ScreenView, ScreenTransition.Fade));
Use below formula in item property of form control on ScreenView screen:
LookUp('Desktops Laptops', ID = varID))
Please click Accept as solution & 👍 if my answer helped you to solve your issue. This will help others to find the correct solution easily. If the answer was useful in other ways, please consider giving it ‌‌👍
If you just want two forms on one screen, but one or the other visible at a time dependent on a button press, have your buttons press Set() a variable, lets say Set(whichformVar, "ViewMode") or Set(whichformVar, "EditMode")then have the visibility of each form set to If(whichformVar="ViewMode",true) or If(whichformVar="EditMode",true).
If thew two forms are identical other than the view/edit mode, you could also just set whichformVar to edit or display, and have the forms default mode set to whichformVar and have one form only that can be botha display and edit form dynamically
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473