
I have a canvas app with multiple screens.
When I first load the page, the defaults load as expected:
Then I click away to another screen, like the Time Slots
When I click on "Scheduling", it brings me back to the original screen, but the defaults aren't loading properly
Default on each dropdown:
It checks to see if there is a record, if not, return a blank. Otherwise return the record
If(
IsBlank(
First(
Filter(
'OneEng Candidates_Interviewers',
MorningOrAfternoon = drpdownMorA.Selected.Value
&&
IVSlot = Value(Label_Slot1.Text)
&&
Interviewer.'Full Name' = ThisItem.Interviewer.'Full Name'
&&
Event.Name = SelectedItem.Name
)
).Candidate.Name
),
"",
First(
Filter(
'OneEng Candidates_Interviewers',
MorningOrAfternoon = drpdownMorA.Selected.Value && IVSlot = Value(Label_Slot1.Text) && Interviewer.'Full Name' = ThisItem.Interviewer.'Full Name' && Event.Name = SelectedItem.Name
)
).Candidate.Name
)
Why are the defaults not loading properly when I click back to the screen?
Hi @morall,
Use the global variable and use that when jumping across the screens:
Set(varSelItem,thisItem)Note: Ensure that you replace all the places where you are using it.
I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.
Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.