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

Badges

Badges
11

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
7

Posts

Posts
15

Discussions

Discussions
4

Questions

Questions
11

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by manank71376227
Customize the badges you want to showcase on your profile
Re: How to get admin session from Repository - Adobe Experience Manager 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 cannot be hardcoded. Thanks

Views

6.1K

Likes

0

Replies

0
Re: How to get admin session from Repository - Adobe Experience Manager 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 = userSession.getWorkspace().getLockManager(); if (lockManager.isLocked(request.getParameter(Constants.PATH) + Constants.JCRCONTENTPATTERN)) { lockManager.unlock(request.getParameter(Constants.PATH) + Constants...

Views

6.8K

Likes

0

Replies

5
Is there any way to load client context in touch UI view - Adobe Experience Manager 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 sidekick.js and it is checking for CQ_Analytics but it is not loading in Touch ui page. Please help me on how to include clientcontext in Touch UI.

Views

636

Likes

0

Replies

1
Touch UI extraClientlibs not working and any appropriate alternative for loading js to particular dialog - Adobe Experience Manager 04-01-2016
Hi,As per AEM 6-1 Touch UI component says:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Creating a client library for style and behaviorIf you want to define styling and behavior for your component, you can create a dedicated client library that defines your custom CSS/LESS and JS.To have your client...

Views

2.0K

Likes

2

Replies

3
how to call function on click of Create button in Touch UI AEM - Adobe Experience Manager 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 call function on click of "Create" button while setting properties. I am not sure about the way to call this.Please suggest.

Views

4.3K

Likes

0

Replies

3
Is there any way to find out whether we have opened page in Touch UI or classic UI in javascript - Adobe Experience Manager 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.

Views

694

Likes

0

Replies

3
Re: How to get admin session from Repository - Adobe Experience Manager 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 to see. This user has to drag user and then can impersonate.

Views

6.8K

Likes

0

Replies

1
How to get admin session from Repository - Adobe Experience Manager 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()),"crx.default");but we are not supposed to use admin, admin credentials.Is there any other way apart from above mentioned to get admin session?

Views

16.3K

Likes

3

Replies

14
How can i enable sidekick if it is locked - Adobe Experience Manager 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 updated . for ex: earlier 'locked by user' was coming but on page refresh 'lock' is shown but readonly.i am using window.location.reload(true); Also, when i manually refresh page sidekick is getting ena...

Views

425

Likes

0

Replies

0
How can i Check if logged in user is admin or members of the administrators group in javascript - Adobe Experience Manager 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.

Views

2.1K

Like

1

Replies

6