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

jamesc25111500
jamesc25111500
Online

Badges

Badges
5

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
7

Discussions

Discussions
0

Questions

Questions
7

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by jamesc25111500
Customize the badges you want to showcase on your profile
Re: How to run workflow from Scheduled Task - Adobe Experience Manager 08-08-2022
Thanks for all inputs. After I changed input library from com.day.cq.workflow.* to com.adobe.granite.workflow.*, it works prefect now.

Views

45

Likes

0

Replies

0
How to run workflow from Scheduled Task - Adobe Experience Manager 05-08-2022
I am trying to run an existing workflow from a Scheduled Task, it wouldn't start workflow and throws an exception: java.lang.NullPointerException: null ...............at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:349) [org.apache.sling.commons.scheduler:2.7.12]at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [org.apache.sling.commons.scheduler:2.7.12]at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)a...

Views

104

Likes

0

Replies

4
Re: How to download dynamic renditions programmatically - Adobe Experience Manager 04-05-2021
Yes, I did write a method to list all available renditions but it just shows Static Renditions only.

Views

200

Likes

0

Replies

0
How to download dynamic renditions programmatically - Adobe Experience Manager 03-05-2021
Hello, I am creating a Java servlet to download assets. If this is static rendition such as cq5dam.web.1280.1280.jpeg, I can call asset method to do that as below: Resource resource = resolver.getResource(assetPath); Asset asset = resource.adaptTo(Asset.class); InputStream is = asset.getRendition("cq5dam.web.1280.1280.jpeg").getStream(); But for dynamic rendition, it doesn't work. How can I get stream for dynamic rendition? Your input would be appreciated.

Views

238

Likes

0

Replies

2
Re: How to share a configuration across multiple bundles... - Adobe Experience Manager 04-02-2020
Yes, you are right. I did realize this problem after digging into configuration factory.

Views

1.0K

Likes

0

Replies

0
Re: How to share a configuration across multiple bundles... - Adobe Experience Manager 03-02-2020
Thank you, Jbrar. I think this is what I need.

Views

1.0K

Likes

0

Replies

0
How to share a configuration across multiple bundles in AEM6.4 - Adobe Experience Manager 01-02-2020
Hello, I have multiples OSGi bundles that use the same configuration properties. Now I create a below service for each bundle:@ObjectClassDefinition(name = "My configuration service", description = "Configuration for bundle")public @interface MyConfig { @AttributeDefinition(name = "My API:", description = "API endpoint for project", type = AttributeType.STRING) String myPropAPI() default "....";...}@activateprotected void activate(final MyConfig config) { this.api_endpoint = this.config.myPropAP...

Views

1.5K

Likes

0

Replies

4