since ‎13-04-2020
‎23-09-2020
skmAem
Level 2
Re: Is it possible to disable OOTB service component? AEM... 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...
86
Views
1
Like
0
Replies
Re: Sql2 query to find pages containing duplicate propert... 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.
65
Views
0
Likes
0
Comments
Is it possible to disable OOTB service component? AEM 6.5 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...
122
Views
1
Like
2
Replies
Re: As a non admin user, I need the ability to download E... 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
27
Views
0
Likes
0
Answers
Re: Sql2 query to find pages containing duplicate propert... skmAem - Adobe Experience Manager Assets
Asking it again to see if anyone has pointers...
81
Views
0
Likes
2
Answers
Sql2 query to find pages containing duplicate property value 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...
129
Views
0
Likes
4
Answers and Comments
Re: Sign in with Adobe - Asset Link configuration -AEM Au... 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
61
Views
0
Likes
0
Answers
Re: Sign in with Adobe - Asset Link configuration -AEM Au... 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...
62
Views
0
Likes
0
Answers
Re: Remove replicate permission for administrators - AEM 6.4 skmAem - Adobe Experience Manager
Thanks @Shashi_Mulugu, We will follow this approach to create custom admin group and assign permissions accordingly. Best Regards,SKM
951
Views
0
Likes
0
Comments
Re: Remove replicate permission for administrators - AEM 6.4 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
1452
Views
0
Likes
0
Comments
Re: Remove replicate permission for administrators - AEM 6.4 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?
1490
Views
0
Likes
2
Answers
Re: Remove replicate permission for administrators - AEM 6.4 skmAem - Adobe Experience Manager
@hamidk92094312 When I denied the replicate permission through useradmin, i can see that the deny for crx:replicate action for administrators group in crxde access control tab. Pls see the screenshot. But it still allows a user in the administrators group to replicate assets. @Shashi_Mulugu & @ArpitVarshney , I agree that we should have followed the setup as you mentioned, but unfortunately I recently joined this project and they already have several power users added under administrators group ...
1481
Views
1
Like
2
Answers
Remove replicate permission for administrators - AEM 6.4 skmAem - Adobe Experience Manager
Hello AEM Gurus, We have a requirement to prevent everyone (including administrators) from replicating assets from a certain path under /content/dam. I have removed replicate permission for this path (eg /content/dam/testfldr) for all of the groups including the administrators group. But users in this administrators group are still able to replicate the assets under this path. When I see the permissions for administrators in useradmin for /content/dam/testfldr path, it has a *! markup next to th...
4203
Views
1
Like
10
Answers and Comments
Re: HttpPost to AEM 6.4 Author instance using Assets api... skmAem - Adobe Experience Manager
Thanks Shashi to pointing to the root cause of the issue. I stumbled upon this link: https://github.com/AdobeDocs/experience-manager-65.en/blob/master/help/assets/assets-api-content-fragments.md about half an hour ago and saw the same thing that you need to exclude /content/dam from the uri. I was about to update this question and I saw your message. In Assets api documentation, they should mention that omit /content/dam from the uri. Thanks again Shashi for looking into this!!-SKM
2255
Views
1
Like
0
Answers
Re: HttpPost to AEM 6.4 instance using Assets api through... skmAem - Adobe Experience Manager
I have tried everything I can think of. Added CSRF token in the header of the post request after getting it using http://localhost:4602/libs/granite/csrf/token.json using this code: HttpPost postRequest = new HttpPost(uri); postRequest.addHeader("content-type", asset.getMimeType()); postRequest.addHeader("X-CSRF-Token", "eyJ ...g");I have tried to remove POST from the Filter Methods of the "Adobe Granite CSRF Filter" as well as from the Filter Methods of the "Apache Sling Referrer Filter" config...
2178
Views
1
Like
0
Answers
Re: HttpPost to AEM 6.4 instance using Assets api through... skmAem - Adobe Experience Manager
Hi Ka,I did refer to that article and got some ideas about using httpclient to send the assets, but that article does not have any examples regarding how to access those assets api through java. Also in my code I am creating httpclient using admin:admin credentials, does that not work? Do you have any java code snippets to perform the post operation? Thanks,SKM
2381
Views
1
Like
0
Answers
Re: HttpPost to AEM instance usuing Assets api skmAem - Adobe Experience Manager
 comment deleted
2995
Views
0
Likes
0
Comments
HttpPost to AEM 6.4 Author instance using Assets api through apache http client skmAem - Adobe Experience Manager
Hello All,I have a requirement that if an asset is modified in one AEM author instance and if it contains specific metadata, we need to send the asset to another AEM author instance. We don't want to write any code in the target AEM author instance. Our approach was to write a custom java workflow process to be fired on asset modification and use apache http client library to post the asset original rendition to the target AEM instance using assets api (eg http://localhost:4602/api/assets/conten...
6453
Views
1
Like
7
Answers and Comments
Re: AEM 6.3.3.8 Unable to save content fragment skmAem - Adobe Experience Manager
Pls disregard this comment, made correction in the original question.
1386
Views
0
Likes
0
Comments
AEM 6.3.3.8 Unable to save content fragment model skmAem - Adobe Experience Manager
I am playing around with content fragments in my local AEM 6.3.3.8 instance. After going through Tools -> Assets -> Content Fragment Models I am able to add a test content fragment model. After I open the model I am able to drag data types (eg single line text) into the model canvas area. After adding a required property name field when I click Save button, it does nothing. I am seeing the following error in the error.log file :14.04.2020 10:45:50.312 *WARN* [0:0:0:0:0:0:0:1 [1586843150275] GET ...
1390
Views
0
Likes
2
Answers and Comments
Likes from