Re: Navigate to Prior Screen from Successfully Save Screen
Hi @Ms-PowerRanger2
The reason is on the edit screen, the form Item property needs to be updated. Looks like the current setup for the Item property is BrowseGallery.selected. This is what main change needs to happen.
For this change, we have to use the same variable when you select the item from the Gallery and store the New ID when it's created.
Steps:
1. "OnSelect" of the browse gallery to
Select(Parent);Set(SelectedId,BrowseGallery1.Selected.ID)
2. On EditScreen, Set Form "OnSuccess" property to
Set(
SelectedID,
EditForm1.LastSubmit.ID
);
Navigate(
SucessScreen,
ScreenTransition.Fade
);
3. On Edit Screen, Form "Item" property to
LookUp(IssueTracker, ID=SelectedId)
4. On the Success screen, set "OnSelect" navigation to icon/button
Navigate(EditScreen1, ScreenTransition.None)