Hello AEM Community,
AEM - 6.5
Could you please share ideas / best practises how to implement the following solution on AEM pages:
We need a component with 2 parsyses - "preview content" and "exclusive content".
"preview content" should be visible for all users.
"exclusive content" should be hidden from anonymous users and instead of it they should see "sign-in" form. And authenticated users should see exclusive content fully.
Users are not associated with aem, but with another service where they are registered and stored.
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
You may try to achieve this by using experience fragments and context Hub, please check below and see if that helps incase if you've not seen this.
https://helpx.adobe.com/experience-manager/using/contexthub_personal_exfragments.html
You may try to achieve this by using experience fragments and context Hub, please check below and see if that helps incase if you've not seen this.
https://helpx.adobe.com/experience-manager/using/contexthub_personal_exfragments.html
For exclusive content you can have following. logic-
Assuming once user is logged will have cookies or something which you must be getting unique to the logged in user, check that particular stuff and accordingly show the form div or the content div for logged in users.
@arturl43391132 As @Siva_Sogalapalli rightly pointed, try acheiving this usecase using experience fragments and contextHub(You can use Adobe Target inplace of contextHub if your Organization have it), Use cookie/localstorage to differentiate between authenticated/anonymous user.
Views
Likes
Replies
Views
Likes
Replies