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

marcinn
Community profile marcinn Level 1
Job title here
Location here
3 BADGES
Level 1

Level 1

Learn more
Joined the community 25-02-2021 12:35:28 AM
Offline
Top badges earned by marcinn
Customize the badges you want to showcase on your profile
Add additional library to bundle.
Avatar
Validate 1
Level 1
marcinn
Level 1

Likes

2 likes

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
marcinn
- Adobe Experience Manager Assets
Hi I'd like to add 3rd part library to the AEM bundle. I'd like to use jmagick (it's ImageMagick java wrapper) to process images inside the workflow step. I've added Maven dependencies to the pom file. Inside the class, I've imported jmagick as import magick; But unfortunately, after deploy to the local AEM, the whole bundle couldn't start because of the missing library. Can anyone give me step-by-step instruction on how to add a new library to the bundle? Thank you in advance for your help

Views

28

Likes

0

Replies

0
Re: HTTP API Asset get metadata
Avatar
Validate 1
Level 1
marcinn
Level 1

Likes

2 likes

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
marcinn
- Adobe Experience Manager
Hi thx for your comment. I did some tests, and you're right additional metadata filed (which I've added) works but unfortunately, I need those values in dam namespace. (especially dam:scene7Domain, dam:scene7Type, dam:sceneFile). Any chance to get them from API or from any other way but in JS file?

Views

87

Likes

0

Replies

0
Re: HTTP API Asset get metadata
Avatar
Validate 1
Level 1
marcinn
Level 1

Likes

2 likes

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
marcinn
- Adobe Experience Manager
Hi many thanks for your answer, unfortunately, it doesn't look like in my case. I've added many fields to metadata, but I'm getting only few. but my asset in CRX looks like this I've also Dynamic Media configured there, and frankly speaking, I need few scene7 fields.

Views

121

Likes

0

Replies

0
HTTP API Asset get metadata
Avatar
Validate 1
Level 1
marcinn
Level 1

Likes

2 likes

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
marcinn
- Adobe Experience Manager
Hi Can the user somehow configure, which metadata fields will be returned via asset API?I need some additional fields, but unfortunately, I can't see them in returned JSON. Thank you in advance for any tips.

Views

137

Likes

0

Replies

5
Re: Assets HTTP API should contain lastReplicated metadata
Avatar
Validate 1
Level 1
marcinn
Level 1

Likes

2 likes

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
marcinn
- Adobe Experience Manager
Hi Can the user somehow configure, which metadata fields will be returned via asset API? I need some additional fields, but unfortunately, I can't see them in returned JSON. Thank you in advance for any tips.

Views

101

Likes

0

Replies

0
Re: Get ICC Profile information from asset
Avatar
Validate 1
Level 1
marcinn
Level 1

Likes

2 likes

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
marcinn
- Adobe Experience Manager Assets
OK, finally resolved I've used this library org.apache.commons.imaging and then it was easyAsset asset = resource == null ? null : resource.adaptTo(Asset.class);Iterator rendition = asset.listRenditions();if (rendition.hasNext()) { Rendition ren = rendition.next(); try { byte[] assetByteArray = new byte[ren.getStream().available()]; ren.getStream().read(assetByteArray); Imaging.getImageInfo(assetByteArray).getColorType(); ICC_Profile iccProfile = Imaging.getICCProfile(assetByteArray); if (iccPro...

Views

74

Like

1

Replies

1
ImageMagick wrapper added to bundle - magick -- Cannot be resolved
Avatar
Validate 1
Level 1
marcinn
Level 1

Likes

2 likes

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
marcinn
- Adobe Experience Manager Assets
Hi I've added ImageMagick wrapper (JMagick) to one of my workflow classes. import magick.ImageInfo;import magick.MagickException;Unfortunately, when it is deployed to local AEM instance, I've got the error in http://localhost:4502/system/console/bundles like :Imported Packages :magick -- Cannot be resolved here's a part of POM.xml where dependencies was added jmagick jmagick 6.6.9provided--> I've tried with and without a scope, but with no luck. Any suggestions?

Views

65

Likes

0

Replies

0
Set variable in workflow CommandLine step
Avatar
Validate 1
Level 1
marcinn
Level 1

Likes

2 likes

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
marcinn
- Adobe Experience Manager Assets
Hi I'd like to set my variable in the Command line workflow step. Value for that variable will be the result of ImageMagick command like that: identify -format %[colorspace] some.jpg I'll be grateful for any help or suggestions. Any example will be also very useful.

Views

63

Likes

0

Replies

0
Get ICC Profile information from asset
Avatar
Validate 1
Level 1
marcinn
Level 1

Likes

2 likes

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
marcinn
- Adobe Experience Manager Assets
Hi I'm trying to get ICC PRofile information from the asset, but with no luck. Is there any way to grab those fields during asset processing inside a workflow step? I have a code like that to get an asset object (it's just to describe my problem) implemented inside a class that inherits from WorkflowProcess: ResourceResolver resolver = workflowSession.adaptTo(ResourceResolver.class);String path = workItem.getWorkflowData().getPayload().toString();if (StringUtils.contains(path, JcrConstants.JCR_C...

Views

107

Like

1

Replies

2
Likes given to
Likes from