Hello,
How can cache the lookups to the device in order to view them in offline mode for mobile app?
Thank you.
Maher.
Like
Hello Maher,
Once you sync the mobile app with the main app all lookup values are being saved in the cache of the mobile app and will be available for selection in offline mode. In case you've added new lookup values to the main app and need them to appear in the mobile app please sync the mobile app with the main app and new values will appear as needed.
Best regards,
Oscar
Oscar Dylan,
Hello Oscar,
Thank you for the reply.
I am not able to see the list of values in offline mode for some reason, are there any steps to do or configurations?
I did synchronize before disconnecting from the network.
Maher.
maher daher, maybe our steps to reproduce the behavior are different. Can you please specify the value for the system setting with the "MobileApplicationMode" code (try setting the value as "Offline")? Have I understood you right that you perform synchronization, then disconnect your device from the network and then try to edit the record, select the lookup, but you don't have any values there? Is this a custom lookup or some out-of-the-box lookup?
Please also make sure that your lookup is present in the SyncOptions property -> SysLookupsImportConfig attribute in the mobile application manifest (as described here). Because your lookup may simply not sync with the mobile application.
Best regards,
Oscar