I'm running into an issue where any time SaveData is called, the application stops loading data from an external api and no longer works until I start a new session. I'm saving a collection with multiple tables, none of which are over 100 rows. Here is the code I'm using in an OnSelect:
UpdateContext({CheckingUpdates:true});
Set(ErrorVisible,false);
Clear(ConfiguationData);
If(Connection.Connected,
ClearCollect(ConfiguationData, CCFVApi.GetConfiguration());
Set(testsource, "online")
,
LoadData(ConfiguationData, "CCFVConfiguationData", true);
Set(testsource, "offline")
);
SaveData(ConfiguationData, "CCFVConfigurationData");
Set(AuditSuffix, ConfiguationData.FIELDAUDITSUFFIX);
ClearCollect(CCFV_Categories, ConfiguationData.CATEGORIES);
ClearCollect(CCFV_Questions, ConfiguationData.QUESTIONS);
ClearCollect(EnterpriseEntities, ConfiguationData.ENTITIES);
ClearCollect(EmployeesObserved, ConfiguationData.EMPSOBSERVED);
ClearCollect(ObserversPosition, ConfiguationData.OBSRVPOSITONS);
ClearCollect(Departments, ConfiguationData.DEPARTMENTS);
UpdateContext({CheckingUpdates:false});
Navigate(screenStartAssessment, ScreenTransition.Cover)Also, when I copy the code exactly from this tutorial https://powerapps.microsoft.com/en-us/blog/build-offline-apps-with-new-powerapps-capabilities/ , I can get error on the SaveData line claiming LocalTweetsToPost is an invalid name. Here is a
screenshot of that:
To say that developing with PowerApps has been frustrating is an understatement. I've been working with it since May and can't tell you the amount of time we've run into roadblocks due to lack of documentation or general defects in the application itself. I understand this is a new product from Microsoft, but none of our apps have gone to production (and are nowhere near being ready to) because of these issues.


Report
All responses (
Answers (