Access HTMLResources package files for specific article
hello,
the task load json file included htmlresources package using javascript. otb cordova file access plugin gives possibility there non-trivial issue how define path htmlresources folder specific article.
for example, when debugging article in chrome developer tools can see next paths:
article path - file:///storage/sdcard0/android/data/com.adobe.dps.preflight/files/8b4e9a0c-43b8-4b28-8cf5-de45b9df6a8a/awesomearticle.html
htmlresources path - file:///storage/sdcard0/android/data/com.adobe.dps.preflight/files/htmlresources
however, there no such folder file:///storage/sdcard0/android/data/com.adobe.dps.preflight/files/htmlresources on file system , file access plugin can not reach it.
if perform search can find htmlresources content somewhere under file:///storage/sdcard0/android/data/com.adobe.dps.preflight/files/fb30c87b-65fa-444f-a448-2f810f3a8b01
so, htmlresources folder uid different article folder uid , article metadata (cq.mobile.context.entity) not contain pointers folder.
is possible obtain htmlresources folder uid javascript context? there other possibility access content?
any input appreciated.
More discussions in Adobe Experience Manager Mobile
adobe
Comments
Post a Comment