This might be too much to bite off; however, I'm evaluating the feasibility of quick migration from DPS classic to AEM Mobile with the initial goal being a simple lift-and-shift to the new platform. This would provide quick migration now, while enabling expansion of AEM Mobile features in the future.
Creating an app and migrating content is quick - I end up with virtually the same layout as DPS classic storefront, being a collection of folio covers. This is perfect.
But where I could use some guidance is translation of custom storefronts. We have many apps which feature custom storefronts, where we have leveraged entitlement banner carousels, promotional content based on entitlement, subscriptions, and cross-sells within our store by using the Library and Store SDK.
It seems that AEM Mobile has two approaches for extensibility:
As a mobile application developer, it's easier for me to wrap my head around extending the AEM Mobile platform through Cordova; however, it appears tutorials are geared towards customizing content.
Would you have any insight to offer?
Jason - instead of using the Cards and Layouts engine for the first page, you could create an HTML "Article" and then add that as the first item in the Top Level Collection. This means that you could design the article with a carousel etc. to more closely mimic your storefront.
Also note that in the latest release we added some additional optimizations for HTML as the top level collection item
Any article that’s added to the top-level collection can no longer be removed from cache when the cache limit is reached. That way, users will always be able to view any article in the top-level collection even if they're offline. At this time, only iOS viewers support this feature, but it should be available soon in Android and Windows apps.
Partially correct. THe HTML article would be the first item in the top level collection. You could then use Cordova APIs to derive 'navto' navigation links to other articles and collections.
Sent from my iPhone
You would need to make the "home" article the first item in your top-level collection. In this example, I just added a new article above my previous home collection. That makes the article the home article.
In that home article, you could add links to sub-collections next to your promotional content. Use this format for the sub-collection links: navto://collection/<collectionName> (see Hyperlinks in AEM Mobile for other linking options).
Thanks, Ivan - this sounds like exactly what I was looking for.
So, using the Content Map, I would make the Top Level Collection an HTML Article that contains my custom code for carousels?
Not entirely sure I understand how a user would navigate to sub-collections. Using this approach, a user would have a promotional screen; then, have to switch to a different top-level collection to view articles, right?
Thanks for this insight, this approach is very feasible.