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

Likes
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
Avatar
Give Back 5
Level 2
manank71376227
Level 2

Likes

7 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 10
Ignite 5
Ignite 3
Give Back 3
View profile
manank71376227
- Adobe Experience Manager
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

5.7K

Likes

0

Replies

0
Re: How to get admin session from Repository
Avatar
Give Back 5
Level 2
manank71376227
Level 2

Likes

7 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 10
Ignite 5
Ignite 3
Give Back 3
View profile
manank71376227
- Adobe Experience Manager
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.4K

Likes

0

Replies

5
Is there any way to load client context in touch UI view
Avatar
Give Back 5
Level 2
manank71376227
Level 2

Likes

7 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 10
Ignite 5
Ignite 3
Give Back 3
View profile
manank71376227
- Adobe Experience Manager
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

593

Likes

0

Replies

1
Touch UI extraClientlibs not working and any appropriate alternative for loading js to particular dialog
Avatar
Give Back 5
Level 2
manank71376227
Level 2

Likes

7 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 10
Ignite 5
Ignite 3
Give Back 3
View profile
manank71376227
- Adobe Experience Manager
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

1.8K

Likes

2

Replies

3
how to call function on click of Create button in Touch UI AEM
Avatar
Give Back 5
Level 2
manank71376227
Level 2

Likes

7 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 10
Ignite 5
Ignite 3
Give Back 3
View profile
manank71376227
- Adobe Experience Manager
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

3.9K

Likes

0

Replies

3
Is there any way to find out whether we have opened page in Touch UI or classic UI in javascript
Avatar
Give Back 5
Level 2
manank71376227
Level 2

Likes

7 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 10
Ignite 5
Ignite 3
Give Back 3
View profile
manank71376227
- Adobe Experience Manager
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

639

Likes

0

Replies

3
Re: How to get admin session from Repository
Avatar
Give Back 5
Level 2
manank71376227
Level 2

Likes

7 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 10
Ignite 5
Ignite 3
Give Back 3
View profile
manank71376227
- Adobe Experience Manager
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.4K

Likes

0

Replies

1
How to get admin session from Repository
Avatar
Give Back 5
Level 2
manank71376227
Level 2

Likes

7 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 10
Ignite 5
Ignite 3
Give Back 3
View profile
manank71376227
- Adobe Experience Manager
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

15.9K

Likes

3

Replies

14
How can i enable sidekick if it is locked
Avatar
Give Back 5
Level 2
manank71376227
Level 2

Likes

7 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 10
Ignite 5
Ignite 3
Give Back 3
View profile
manank71376227
- Adobe Experience Manager
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

387

Likes

0

Replies

0
How can i Check if logged in user is admin or members of the administrators group in javascript
Avatar
Give Back 5
Level 2
manank71376227
Level 2

Likes

7 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 10
Ignite 5
Ignite 3
Give Back 3
View profile
manank71376227
- Adobe Experience Manager
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

1.9K

Like

1

Replies

6
How to allow a group of user to unlock page which is locked by author except admin user
Avatar
Give Back 5
Level 2
manank71376227
Level 2

Likes

7 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 10
Ignite 5
Ignite 3
Give Back 3
View profile
manank71376227
- Adobe Experience Manager
I have author rights in AEM. I have locked a page.when i am trying to unlock page by login as different user then, how can i unlock the page?Is there any way that a group of users can unlock page which is locked by different user.

Views

927

Likes

0

Replies

1
Re: Is there any way user can impersonate group in cq/AEM
Avatar
Give Back 5
Level 2
manank71376227
Level 2

Likes

7 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 10
Ignite 5
Ignite 3
Give Back 3
View profile
manank71376227
- Adobe Experience Manager
Thanks for ur reply..The requirement is that we should not expect an actual admin user giving impersonation rights to each author (and every new author who joins the team).Can we do this for groups ? If not, then can we do this using different approach ?also, if admin user has lock a page then how can we allow another user to unlock the same page

Views

665

Likes

0

Replies

0
Is there any way user can impersonate group in cq/AEM
Avatar
Give Back 5
Level 2
manank71376227
Level 2

Likes

7 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 10
Ignite 5
Ignite 3
Give Back 3
View profile
manank71376227
- Adobe Experience Manager
I am new to AEM. I was going through the impersonating functionality in useradmin.CQ documentation on impersonationas per my understanding , impersonation can be done user to user. if there any way user can impersonate group i.e. if user-A can directly impersonate group-A with 5 user. As it would be really difficult for admin to impersonate every new user.Please suggest

Views

1.3K

Like

1

Replies

4
Re: how to persist value of cq multifield component if hidden
Avatar
Give Back 5
Level 2
manank71376227
Level 2

Likes

7 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 10
Ignite 5
Ignite 3
Give Back 3
View profile
manank71376227
- Adobe Experience Manager
yes. I am content folder, I am able to see screenshot the values. sorry, not able to send screenshot due to client restriction.

Views

582

Likes

0

Replies

0
how to persist value of cq multifield component if hidden
Avatar
Give Back 5
Level 2
manank71376227
Level 2

Likes

7 likes

Total Posts

15 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 10
Ignite 5
Ignite 3
Give Back 3
View profile
manank71376227
- Adobe Experience Manager
hiI am not able to render multifield to its actual state. it is rendered to its default state.Scenario - In dialog, I am having two radio buttons and on basis of them i show/hide multifield component and dialogfield set. now when i am on radio button 1 - (multifield comp visible) and clicking on 'ok' of dialog it is rendering properly. and when i again open dialog. values are still there and multifield is open with item.now when i click on radio button 2 - (multifield hidden and dialogfield set ...

Views

855

Likes

0

Replies

2