hello, is anybody out there? my previous 3 posts have gone unanswered. i'm hoping that someone can help this time.
referencing this page: https://helpx.adobe.com/digital-publishing-solution/help/creating-banners.html
under the description for Dynamic Banners, it mentions the ability to have a dynamic banner that "displays the entitlement sign-in prompt," but there is no link to more info. i have looked everywhere for instructions on how to do this. i am sure it's a very simple thing that can be accomplished with a navto:, but i don't know what the navto: should link to. any help would be appreciated!
The User API has a launchSignInUX method that you can call from your banner.
Have a look at the AEM Mobile specific Cordova-enabled plug-ins help article for details and a link to some samples.
Sample entitlement banner code is now available under "Dynamic banners" in this article:
If you're not signed in, you get a "Click here to sign in" prompt. If you're signed in, you get a Sign Out button that displays the banner short title (or "Hello"). You can edit the index.html file to provide your own strings and formatting. (Remember to select the "Enable extensibility features" option when creating the dynamic banner.)