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
BedrockMission!

Learn More

View all

Sign in to view all badges

jamesc25111500
Community profile jamesc25111500 Level 1
Job title here
Location here
1 BADGE
Level 1

Level 1

Learn more
Joined the community 09-09-2019 12:14:42 PM
Offline
Top badges earned by jamesc25111500
Customize the badges you want to showcase on your profile
Re: How to download dynamic renditions programmatically
Avatar
Validate 1
Level 1
jamesc25111500
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
jamesc25111500
- Adobe Experience Manager
Yes, I did write a method to list all available renditions but it just shows Static Renditions only.

Views

39

Likes

0

Replies

0
How to download dynamic renditions programmatically
Avatar
Validate 1
Level 1
jamesc25111500
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
jamesc25111500
- Adobe Experience Manager
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

77

Likes

0

Replies

2
Re: How to share a configuration across multiple bundles...
Avatar
Validate 1
Level 1
jamesc25111500
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
jamesc25111500
- Adobe Experience Manager
Yes, you are right. I did realize this problem after digging into configuration factory.

Views

883

Likes

0

Replies

0
Re: How to share a configuration across multiple bundles...
Avatar
Validate 1
Level 1
jamesc25111500
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
jamesc25111500
- Adobe Experience Manager
Thank you, Jbrar. I think this is what I need.

Views

883

Likes

0

Replies

0
How to share a configuration across multiple bundles in AEM6.4
Avatar
Validate 1
Level 1
jamesc25111500
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
jamesc25111500
- Adobe Experience Manager
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.4K

Likes

0

Replies

4