Mobile Offline mode does not work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2022 08:03 AM
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".
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2022 09:49 AM
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:
-
Set the
offline
attribute totrue
in the<app>
element of your app'smanifest.webapp
file. -
Include the
<appcache>
element in your app'smanifest.webapp
file, with apath
attribute pointing to your app's offline cache file. -
Add a
<link rel="manifest" href="manifest.webapp">
element to your app's HTML file, to reference themanifest.webapp
file. -
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.
-
Enable the "Available Offline" checkbox for each applet that you want to be available offline.
-
Clear your browser's cache and cookies, and reload the app to ensure that the changes to the offline capability are applied.
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 03:30 AM
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.
Please let me know how to resolve this issue.