
Announcements
Hello,
I'm facing a problem with initiating a specific screen depending on item value. There is a list in SharePoint Online. That list contains two items ID:1 and ID:2. Each item has a choice field "M50" offering two options: A and B. I modified SharePointIntegration.OnEdit formula to:
If(
SharePointIntegration.Selected.M50.Value = "A",
Navigate(screen A),
Navigate(screen B)
);
Notify(
"On Edit: " & SharePointIntegration.Selected.M50.Value,
NotificationType.Information,
1000
)
I'd like to achieve that once a SPO list item is edited and its M50 value is equal to "A" app automatically navigates on a screen A. In other case is displayed a screen B as an initial one.
The problem seems to be that SharePointIntegration.Selected.M50.Value keeps value from previous edited item. For example, item ID:2 (M50 = B) is edited as first, then item ID:1 (M50 = A). I expect in this case app will navigate on screen A. Unfortunately, no. Notify function shows "On Edit: B". It is necessary re-open the same item. On the second attempt app navigates to the right screen.
Could you help me to fix it, please? An extra button can't be accepted as solution/workaround. It is really important automatically open form on right screen.
Hi, could you tell me how you solved this problem? I have the same need as you. Thank you.