I'm modifying shrepoint form with power apps.
Set(
SelectedWorkOrder,
If(
IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),
First(WP_WORequest),
LookUp(WP_WORequest,ID= SharePointIntegration.SelectedListItemID)
)
);
I use this code as recommended to load the item on the form. (the Form's item refers to 'SelectedWorkOrder')
But when users open this form to view or edit, it shows 'First' item as it failed to load the proper item.
Sometimes the screen stuck with the message 'the data is loading... (something like that?)' and no form displayed.
Can this be a bug? Or do I need to do something differently?
Currently, I'm asking users to do use 'reload button' I added. This button just does the same thing, set the variable.
Please help!

Report
All responses (
Answers (