Hey there,
I have an app where I need to delay navigation to another screen until a field has been populated in my SP list. The field itself is a URL and is a document that is being created via a flow (triggered when a new item is created).
I have created a button, where the OnSelect properties are:
Set (
gblShowSpinner,
true
);
Set(gblTimerStart,true);Set(gblTimerStart,false);
Set(
gblRecord,
ThisItem
);
ViewForm(MainForm);
Set(
gblShowSpinner,
false
);
Navigate(
New,
ScreenTransition.Fade
)
Then, I have set my spinner with its variable (gblShowSpinner) - this appears to work fine.
The timer seems to be the issue. I have set the Start to my variable (gblTimerStart), and the OnTimerEnd properties to:
If(
IsBlank(gblRecord.URL),
Set(
gblTimerStart,
true
),
Set(
gblTimerStart,
false
)
)
When I play the app there is no spinner and it goes directly to the screen, even though the field is not empty. Any ideas?