Hi,
I have created a flow which, based on input from my canvas app, executes a SQL stored procedure. This returns several records from a really large database, and I am using the Response action to pass "ResultSets" into my app, which I then want to populate a Gallery.
This is what I am currently doing...
Screen OnVisible
ClearCollect(colSalesLT, FirstN('SalesLT.Customer', 100))
Gallery's Items
If(IsEmpty(colSalesLT), FirstN('SalesLT.Customer', 100), colSalesLT)
I have a button which takes the content of a text input field, and runs the flow. It's OnSelect is:
UpdateContext({varLoading: true});
UpdateContext({varFilter: TextInput1.Text});
ClearCollect(
colSalesLT,
Getpatients.Run(First(Split(Trim(varFilter), " ")).Value, Last(Split(Trim(varFilter), " ")).Value)
);
UpdateContext({varLoading: false});
The flow runs fine, but the gallery is empty. Why could this be?
Thanks
LM.

Report
All responses (
Answers (