Custom libraries in offline mode
Hi,
I am trying to figure out how to include custom javascript modules in my html5viewer (1.3.1) when I go offline.
The problem is (I think) that the .manifest file and the bundle file are created automatically from the rest manager at the same moment and instead I should include in the .manifest file my js library.
Is there a solution to this? or maybe a different way to create the bundle file?
Does the catalog.json already support multiple bundle files?
Thanks in advance for any help
-
Hi Marco,
Inside of the virtual directory for your viewer is a Config directory, and in that directory there should be a CacheManifestConfig.xml. You can add your custom library to this file and it will appear in the manifest.
Catalogs don't currently support multiple bundles, but it's likely that they will soon in order to support multiple offline roles.
Cheers,
Jason
0 -
Hi Jason,
thanks for the reply. I'll try your solution then.
Greets,
marco
0
Please sign in to leave a comment.
Comments
2 comments