Hello,
I have a code on the App on start as
Concurrent(
ClearCollect(VarCollection11, Filter('Wheeler Docs', NumList >= 1 && NumList <= 2000)),
ClearCollect(VarCollection22, Filter('Wheeler Docs', NumList >= 2001 && NumList <= 4000));ClearCollect(VarCollection33, Filter('Wheeler Docs', NumList >= 4001 && NumList <= 6000));ClearCollect(VarCollection44, Filter('Wheeler Docs', NumList >= 6001 && NumList <= 8000));ClearCollect(VarCollection55, Filter('Wheeler Docs', NumList >= 8001 && NumList <= 10000)));
ClearCollect(CollectR, VarCollection11, VarCollection22,VarCollection33,VarCollection44,VarCollection55 )
Then i have form where i input a contract id value and search with a button and search will retreive rest of the field values from sharepoint .
When i search for a particular contract id which i know exists in sharepoint, it doesn't return anything , but when i manually run the app on start again i search the results are returned . When i publish the app to users i dont expect users asking me to run the app on start each time.
Search form

Search Contract Button Code
UpdateContext({AppIDVar:First(Filter(CollectR,ContractNumber=TextInput1_ContractID_1.Text)).ApplicationNumber});
UpdateContext({CustomerNameVar:First(Filter(CollectR,ContractNumber=TextInput1_ContractID_1.Text)).CustomerName});
UpdateContext({DocSourceVar1:First(Filter(CollectR,ContractNumber=TextInput1_ContractID_1.Text)).SourceSystem});
UpdateContext({BPNVar:First(Filter(CollectR,ContractNumber=TextInput1_ContractID_1.Text)).BPN});
UpdateContext({TINVar:First(Filter(CollectR,ContractNumber=TextInput1_ContractID_1.Text)).TIN});
Please advise on the resolution.
Thanks