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

ab86711137
ab86711137
Offline

Badges

Badges
4

Accepted Solutions

Accepted Solutions
0

Likes

Likes
0

Posts

Posts
6

Discussions

Discussions
0

Questions

Questions
6

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by ab86711137
Customize the badges you want to showcase on your profile
Programmatically Upload a file(nt:file) to dynamic content path
Avatar
Ignite 5
Level 2
ab86711137
Level 2

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Validate 1
View profile
ab86711137
- Adobe Experience Manager
Hi,I want to achieve a functionality to allow authors upload files to the content tree. Is there a API method already available which takes input as 1. local drive file path 2. content path, and uploads the file to destined content path? Basically i want to achieve the functionality that is already available at http://localhost:4502/miscadmin#/etc, where an author can upload a file using "New File" option, but this is not available for content tree.I want this to be made available creating a sep...

Views

85

Likes

0

Replies

0
How to get if the user has read permission on a given path using code.
Avatar
Ignite 5
Level 2
ab86711137
Level 2

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Validate 1
View profile
ab86711137
- Adobe Experience Cloud
I want to get if the logged-in user has read permission to a specified path. Please suggest to achieve it via code.

Views

355

Likes

0

Replies

1
Different date-time on author and publish due to server timezone difference
Avatar
Ignite 5
Level 2
ab86711137
Level 2

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Validate 1
View profile
ab86711137
- Adobe Experience Manager
Hi,I have my Author and Publish app servers in different locations and due to this i am having issues when i try fetching time from a date property.node = hit.getNode(); String dateField = node.getProperty("start").getValue().getString(); out.println(dateField); //2015-04-20T07:15:00.000-05:00 Property startProp = node.getProperty("start"); Calendar startCal = startProp.getDate(); String formattedDate = new SimpleDateFormat("yyyy-MM-dd hh:mm aa").format(startCal.getTime()); out.println("Output= ...

Views

232

Likes

0

Replies

2
How to get if the user has read permission on a given path using code.
Avatar
Ignite 5
Level 2
ab86711137
Level 2

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Validate 1
View profile
ab86711137
- Adobe Experience Manager
I want to get if the logged-in user has read permission to a specified path. Please suggest to achieve it via code.

Views

233

Likes

0

Replies

1
Terminate a workflow using the payload(type: JCR_PATH) in code implementation?
Avatar
Ignite 5
Level 2
ab86711137
Level 2

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Validate 1
View profile
ab86711137
- Adobe Experience Manager
I could find the below code while searching:Workflow workflow = wfSession.getWorkflow(workItem.getWorkflow().getId());wfSession.terminateWorkflow(workflow);Is the above implementation correct to achieve the goal?How should the definition for wfSession and workItem objects look like?Where/How do i use the payload, to fetch the instance id of the workflow?

Views

849

Likes

0

Replies

1
Enable auto-login to user in CQ author environment(5.6.1) as per the user id
Avatar
Ignite 5
Level 2
ab86711137
Level 2

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Validate 1
View profile
ab86711137
- Adobe Experience Manager
I am trying to fetch the user password using the user id to enable auto-login to CQ author environment.Below is what i have been trying:Session jcrSession = resourceResolver.adaptTo(Session.class); UserManager userManager = AccessControlUtil.getUserManager(jcrSession); Authorizable authorizable = userManager.getAuthorizable(USER_ID); User user = null; if (authorizable instanceof User) { user = (User)authorizable; } SimpleCredentials credential = (SimpleCredentials)user.getCredentials(); char[] p...

Views

558

Likes

0

Replies

1