Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

manank71376227
manank71376227
Offline
  • 14-03-2016
    Hi,System user scenario is working fine. We are able to get session. But when it comes to unlock page by impersonating user, it is failing.Could you please let me know what permissions are required for user to impersonate any other user. Also, user can be multiple, so which user has locked page that...

    Type

    Discussions

    Views

    6.3K

    Likes

    0

    Replies

    0
  • 11-03-2016
    Hi,In our case we have to impersonate user session who has locked page. so we are doing this by taking admin session. adminSession = repository.loginAdministrative(null); userSession = adminSession.impersonate(new SimpleCredentials(lockedByUser, "".toCharArray())); LockManager lockManager = userSess...

    Type

    Discussions

    Views

    7.0K

    Likes

    0

    Replies

    5
  • 12-01-2016
    Hi,Recently, I have started working on Touch UI. I am checking for client context to load in touch ui. It is available in Classic UI in side kick buttton. Is there any way I can include or visible in touch ui?I tried by include these tag in my page but still it is not coming. I have checked the side...

    Type

    Questions

    Views

    650

    Likes

    0

    Replies

    1
  • 04-01-2016
    Hi,As per AEM 6-1 Touch UI component says:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Creating a cl...

    Type

    Questions

    Views

    2.0K

    Likes

    2

    Replies

    3
  • 31-12-2015
    In classic UI, we have listeners with help of that i am able to call function. I am now changing the same to Touch UI. I am able to customize the page properties and added validation of blank field. But not sure about the function call using create button.IN AEM Touch UI Page creation, I want to cal...

    Type

    Questions

    Views

    4.4K

    Likes

    0

    Replies

    3
  • 31-12-2015
    Is there any way to find out whether we have opened this page in Touch UI or classic UI in javascriptlike we have in classic UI to find out whether page is in edit mode or design mode.CQ.WCM.editModePlease suggest.

    Type

    Questions

    Views

    708

    Likes

    0

    Replies

    3
  • 21-12-2015
    Thanks for your response.Is there any difference between admin user and administrators group user from privileges perspective.As I have seen in impersonation functionality, Admin user can see all the user to impersonate but if we create user with administrators group privileges, it will not be able ...

    Type

    Discussions

    Views

    7.0K

    Likes

    0

    Replies

    1
  • 21-12-2015
    Hi,I'm getting administration session as seen below but this method is deprecated:@Reference private SlingRepository repository;adminSession = repository.loginAdministrative(null);Also. another way to get session is:Session session = repository.login(new SimpleCredentials("admin","admin".toCharArray...

    Type

    Discussions

    Views

    16.5K

    Likes

    3

    Replies

    14
  • 16-12-2015
    Hi,In one of my scenarios, when page is locked by admin and when i try to unlock by diff user then sidekick is locked.so i have a button on page which call backend service and unlock page by impersonating session and page is getting unlocked.but sidekick is still disabled. although, it is getting up...

    Type

    Questions

    Views

    434

    Likes

    0

    Replies

    0
  • 15-12-2015
    Hi,I want to show button on page if logged in user is admin or members of the administrators group in javascript.I am able to get CQ.User.getCurrentUser() but not able to check if user is admin.

    Type

    Questions

    Views

    2.1K

    Like

    1

    Replies

    6
Top badges earned by manank71376227
Customize the badges you want to showcase on your profile