


Hi,
I'm exploring the shared content feature in AEM Mobile. I followed all the steps in the below document.
Work with shared content using the On-Demand Services API
Now when I use this Article which can use the shared resources, it simply doesn't load. I always get a message saying 'Downloading Failed'. However, other articles do load fine. Is there anything in addition I gotta do to make it work?
I've had some real tough times exploring and getting all the steps done. Please help. I wish to complete this as this is one of the most important feature one would need in any project.
Views
Replies
Sign in to like this content
Total Likes
Hi,
Can you share the call made so I can have a look at it ?
Cheers,
Andrei
Views
Replies
Sign in to like this content
Total Likes
Sure Andrei. And thanks for helping. Following are the calls I made after successfully Authenticating to get the Access Token to use in each of these calls. The screenshots will have all the info you'd need to get an idea of what I did. Note that I've replaced my actual client ID with a place holder as I wasn't sure if I can share that.
Please let me know if I went wrong anywhere. All these calls were successfully made. And later when I use the sharedArticle, the article which uses shared content by referencing shared content like <script src="../shared/js/main.js"></script> always fails to load in preflight as well as in a signed app. Even if I remove the reference from the article it fails to load. That article just becomes useless after I do all these steps.
Views
Replies
Sign in to like this content
Total Likes
From the screenshots provided, the calls appear to be alright.
- Can you make a GET request a /publication/{publicationID}/{entityType and retrieved the list of entities ?
Also, check that the shared files are stored in a single entity and consult the On-Demand Services API samples which an examples for sharedContent,it is in the /sharedContent folder.
Views
Replies
Sign in to like this content
Total Likes