how to link dynamic banner to sign-in prompt?

Avatar

Avatar
Validate 1
Level 1
cdw_getsm698286
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
cdw_getsm698286
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
cdw_getsm698286
Level 1

10-11-2016

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!

thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 50
Level 5
Hodmi
Level 5

Likes

68 likes

Total Posts

454 posts

Correct reply

53 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Level 5
Hodmi
Level 5

Likes

68 likes

Total Posts

454 posts

Correct reply

53 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Hodmi
Level 5

11-11-2016

Dynamic Banners have access to the same JavaScript APIs as HTML articles.  So, you can use the same calls that you would if you were writing a HTML based article, including the out of the box Cordova plugins

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.

Answers (2)

Answers (2)

Avatar

Avatar
Boost 50
Employee
Bob_Bringhurst_
Employee

Likes

88 likes

Total Posts

411 posts

Correct reply

113 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
Bob_Bringhurst_
Employee

Likes

88 likes

Total Posts

411 posts

Correct reply

113 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Bob_Bringhurst_
Employee

09-01-2017

Sample entitlement banner code is now available under "Dynamic banners" in this article:

Creating banners and dynamic banners for browse pages

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.)

Avatar

Avatar
Validate 1
Level 1
cdw_getsm698286
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
cdw_getsm698286
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
cdw_getsm698286
Level 1

12-11-2016

thank you!