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

skmAem
Community profile skmAem Level 3
Job title here
Location here
15 BADGES
Level 3

Level 3

Learn more
Joined the community 13-04-2020 10:57:53 PM
Offline
Top badges earned by skmAem
Customize the badges you want to showcase on your profile
Re: Call an OOTB Sling Servlet from a workflow process
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
Hello @Shubham_borole, Thanks for your response. It would be tremendously helpful if there is a @service available that we can call to get back the Dynamic Media URL. I can see that Assets UI sends the following request to get the DM URL back: http://localhost:4502/conf/global/settings/dam/dm/presets/viewer/Video.embedcode.copy.text/content/dam/skm-local-video/face-roboarmB.mp4The servlet that handles this request is: com.day.cq.dam.s7dam.common.servlets.S7damEmbedCodeServletAnd the test/plain r...

Views

102

Like

1

Replies

0
Re: Call an OOTB Sling Servlet from a workflow process
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
Hello @Jörg_Hoh, Thanks for your reply. I can certainly do the feature request and ask for an API that would return that URL but I would think it would take a considerable amount of time for the Adobe engineers to implement it and our needs are for near future. Can you think of any other approach that may work for us? -SKM

Views

103

Likes

2

Replies

0
Re: Call an OOTB Sling Servlet from a workflow process
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
Hi @Veena_Vikram, Thanks for your reply. As mentioned earlier this is an AEM product code and not our custom. I do not have access to the servlet code to extract out the logic and create a service. And I whole heartedly agree that the approach you are suggesting is the right approach but unfortunately may not help me in this case. Thanks,SKM

Views

104

Like

1

Replies

0
Re: Call an OOTB Sling Servlet from a workflow process
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
Thanks @Jörg_Hoh and @Veena_Vikram for your suggestions. The issue is I am trying to call AEM OOTB servlet and not our custom servlet. Let me give you more detail. The Assets UI calls the servlet "com.day.cq.dam.s7dam.common.servlets.S7damEmbedCodeServlet" to get the Dynamic Media/Scene7 URL for video assets and shows it when you click on the URL button in UI. In our use case I need to store this URL in the asset's metadata. I have a workflow step process that I am developing where I am thinking...

Views

137

Like

1

Replies

4
Call an OOTB Sling Servlet from a workflow process
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
Hi All, I have a usecase where I need to call an OOTB AEM Sling Servlet from a workflow step process and store the response from the servlet in asset metadata. Is there a way to call the sling servlet running in the same AEM instance without using the Apache HTTP api? I have already tried calling the servlet using the Apache HTTP api with basic authentication, and it works but, I have to hardcode the url to something like "http://localhost:4502/.... (in my local instance). Is there a better way ...

Views

160

Likes

0

Replies

11
Re: AEM 6.5 Assets Http Api - 404 error for tif assets
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
Hi @Arun_Patidar, Yes I am able to access the tiff file in the browser just fine.I guess preview is not supported for the original rendition but i can click on other renditions and they seem to load fine.Regards,SKM

Views

424

Likes

0

Replies

0
Re: AEM 6.5 Assets Http Api - 404 error for tif assets
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
Hello David, Sorry for late response but I was able to download the original rendition successfully.

Views

1.2K

Likes

0

Replies

0
Re: AEM 6.5 Assets Http Api - 404 error for tif assets
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
I wonder if that particular tif file is corrupt or something. I tried with another large tif file of 189mb and the curl command worked just fine.

Views

1.2K

Likes

0

Replies

0
Re: AEM 6.5 Assets Http Api - 404 error for tif assets
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
Looks like we on to something, so the curl command works fine for a 1mb tif file. But the original tif file is 146mb and I verified that original rendition does have content. Screenshot below:

Views

1.2K

Likes

0

Replies

0
Re: AEM 6.5 Assets Http Api - 404 error for tif assets
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
here are the two original screenshots

Views

1.3K

Likes

0

Replies

0
Re: AEM 6.5 Assets Http Api - 404 error for tif assets
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
I see the error in the error.log as the same. 

Views

1.3K

Likes

0

Replies

0
Re: AEM 6.5 Assets Http Api - 404 error for tif assets
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
here is the screenshot 

Views

1.3K

Likes

0

Replies

0
Re: AEM 6.5 Assets Http Api - 404 error for tif assets
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
There are 3 answers to this topic, one originally by you and two by me. I have the screenshots in the two answers. May be click on "View Entire Topic" to see the additional answers.

Views

1.3K

Likes

0

Replies

0
Re: AEM 6.5 Assets Http Api - 404 error for tif assets
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
I have uploaded the screenshot. The get request via postman also returns the 404 for tif assets.

Views

1.3K

Likes

0

Replies

0
Re: AEM 6.5 Assets Http Api - 404 error for tif assets
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
Hi @davidjgonzalezz ,Here is the screenshot you requested: -SKM

Views

775

Like

1

Replies

0
Re: AEM 6.5 Assets Http Api - 404 error for tif assets
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
I am on 6.5.6.0. I am using the same account admin:admin to access the Capture.PNG in the same folder. I will upload the screenshot of list view to show the both.

Views

1.3K

Likes

0

Replies

0
Re: AEM 6.5 Assets Http Api - 404 error for tif assets
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
Hi @davidjgonzalezz ,Thanks for your quick response. I tried the sample curl commands and I still get the 404 for tif file. I am on 6.5.6.0. Here are the commands and outputs from a terminal: $ curl --user admin:admin http://localhost:4502/api/assets/skm-local/test.tif -X PUT -H"Content-Type: application/json" -d '{"class":"asset", "properties":{"dc:title":"My TIF"}}'{"class":["core/response"],"properties":{"path":"/api/assets/skm-local/test.tif","parentLocation":"/api/assets/skm-local.json","re...

Views

808

Like

1

Replies

0
Re: AEM 6.5 Assets Http Api - 404 error for tif assets
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
Hi David, I tried the curl commands and again the same re

Views

1.3K

Likes

0

Replies

0
AEM 6.5 Assets Http Api - 404 error for tif assets
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
Hi All,I have written a python script to update one of the property for all assets under a folder using assets http api. It's a PUT request to update the property. The script works fine for PNGs, PDFs but not for tif assets, it is throws a Resource Not Found, 404 error.For example: http://localhost:4502/api/assets/skm-local/Capture.PNG works and I get 200 back. But http://localhost:4502/api/assets/skm-local/test.tif does not work and I get 404 return. I get the same result when I try this reques...

Views

1.5K

Likes

0

Replies

23
Re: Is it possible to disable OOTB service component? AEM...
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
Hi @SundeepKatepally , I also want to avoid disabling the OOTB service implementation but I am perplexed as to why my implementation is not getting executed. Here is my implementation declaration: @Component( service= AssetDownloadService.class, immediate=true, property={ Constants.SERVICE_DESCRIPTION + "=Asset Download Service", Constants.SERVICE_RANKING + ":Integer=10000" } ) public class AssetDownloadServiceNewImpl implements AssetDownloadService {} Other option I could think of is to overlay...

Views

538

Like

1

Replies

0
Re: Sql2 query to find pages containing duplicate propert...
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager Assets
Thanks @narendragandhi, Excellent suggestion! I can probably use json to csv converter to convert results into csv/xsl and then sort by property to see if any duplicates.

Views

386

Likes

0

Replies

0
Is it possible to disable OOTB service component? AEM 6.5
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
We want to allow our users (non admins) to download expired assets. There is an OOTB assetdownloadserviceImpl (java) that prevents them from doing so since it checks if an asset is expired or not. I have changed this behavior and implemented custom assetdownloadservice. Now the problem is there are two service implementations for the same service and the OOTB service implementation is getting priority over the custom one. I tried to set the service.ranking property to Integer=10000 for the custo...

Views

576

Like

1

Replies

2
Re: As a non admin user, I need the ability to download E...
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager Assets
I have been able to overlay several files to make download option available for expired assets for non-admin users but when I complete the download popup, it downloads an empty file. Not sure what else I need to change so that it actually downloads the expired assets. Anyone has been able to enable this?SKM

Views

215

Like

1

Replies

0
Re: Sql2 query to find pages containing duplicate propert...
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager Assets
Asking it again to see if anyone has pointers...

Views

402

Like

1

Replies

2
Sql2 query to find pages containing duplicate property value
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager Assets
Hi AEM Gurus, Is it possible to use jcr sql2 query to find pages that contain the same id value (supposed to be unique but got duplicated some how) in one of the custom page property? I have tried with this sql2 query but it fails since we can't compare a dynamic operand against a dynamic operand. Since sql2 doesn't have group by, having clauses, my choices seem to be limited. I also tried playing around with not issamenode but no luck so far. select n1.[jcr:path], n2.[jcr:path] from [cq:PageCon...

Views

467

Likes

0

Replies

4
Re: Sign in with Adobe - Asset Link configuration -AEM Au...
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager Assets
@nitinjl Another option is to overlay login.jsp from /libs/granite/core/components/login/login.jsp into /apps/... . And then around line nbr 394, you will see a line as below:ImsConfigProvider imsConfigProvider = sling.getService(ImsConfigProvider.class);comment out this line and replace it withImsConfigProvider imsConfigProvider = null;This will ignore the other ims provider and the login screen will look like a ootb login screen. Cheers,SKM

Views

320

Like

1

Replies

0
Re: Sign in with Adobe - Asset Link configuration -AEM Au...
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager Assets
@nitinjl We had the same issue and it was confusing the users as to which option to choose to login with. I have found a config that comes with the asset link config package that causes the login screen to show the option to "Sign in with Adobe". Open up config file /apps/system/config/com.adobe.granite.auth.oauth.provider-aal-2019-04.config in crxde and comment out line 11: oauth.config.id="ims". After that go to http://:/system/console/bundles and search for bundle "Adobe Granite IMSAuthentica...

Views

317

Like

1

Replies

0
Re: Remove replicate permission for administrators - AEM 6.4
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
Thanks @Shashi_Mulugu, We will follow this approach to create custom admin group and assign permissions accordingly. Best Regards,SKM

Views

1.2K

Likes

0

Replies

0
Re: Remove replicate permission for administrators - AEM 6.4
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
Hi @ArpitVarshney, when you say "admin" account, do you mean anyone in the administrators group or the ootb "admin" account? Thanks & Regards,SKM

Views

1.7K

Likes

0

Replies

0
Re: Remove replicate permission for administrators - AEM 6.4
Avatar
Give Back 25
Level 3
skmAem
Level 3

Likes

19 likes

Total Posts

39 posts

Correct reply

1 solution
Top badges earned
Give Back 25
Ignite 5
Ignite 3
Give Back 10
Give Back 5
View profile
skmAem
- Adobe Experience Manager
If it is not possible to prevent replication through permissions, is it possible to prevent it through touch ui/granite for everyone for a specific folder in dam? Any suggestions for this approach?

Views

1.8K

Likes

0

Replies

2