Mobile Offline mode does not work

Ramon Cordova
Tera Contributor

Hello all,

 

I am running into the following issue.

I have enabled the offline capability for my custom app but when I try to go to one of my applets I get the following screen displaying the message "Could not find application content in offline data".

RamonCordova_0-1672242811589.png

The applet has been configured making the "Available Offline" checkbox in its configuration record. We're not sure what else needs to be done.

 

I'd appreciate any helpful answer. Thanks.

2 REPLIES 2

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @Ramon Cordova 

Enabling the "Available Offline" checkbox for an applet in its configuration record is a necessary step to make the applet available offline, but it is not sufficient on its own. You will also need to ensure that the custom app as a whole has offline capability enabled.

steps to enable offline capability for a custom app:

  1. Set the offline attribute to true in the <app> element of your app's manifest.webapp file.

  2. Include the <appcache> element in your app's manifest.webapp file, with a path attribute pointing to your app's offline cache file.

  3. Add a <link rel="manifest" href="manifest.webapp"> element to your app's HTML file, to reference the manifest.webapp file.

  4. Make sure that your app is correctly caching the content that you want to be available offline. This may involve adding the necessary files and resources to your app's offline cache file.

  5. Enable the "Available Offline" checkbox for each applet that you want to be available offline.

  6. Clear your browser's cache and cookies, and reload the app to ensure that the changes to the offline capability are applied.

  7. If you have already followed these steps and are still encountering the issue, it is possible that there are errors in your app's offline cache file or manifest file. You may need to debug the issue further by using your browser's developer tools to examine the network requests and responses, and looking for any errors or other issues that could be causing the problem.

Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

I am facing the issue - Error Downloading offline cache is coming up in Agent mobile app.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1113571 gone through this increase the property size but still not resolved.

 
 
 
 

off.jpg

 

Please let me know how to resolve this issue.