since ‎10-04-2016
‎01-12-2020
Arun_Patidar
MVP
Re: Getting cannot derive user name for bundle and sub se...
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
Can you share the Apache sling Service User Mapper Service Amendment. mapping.Make sure the system user is available and your code have the SERVICE name same as mapping Please http://www.sgaemsolutions.com/2017/10/sling-service-authentication-in-aem-63.html

Views

83

Likes

2

Replies

1
Re: Extend Teaser Component using Sling Model Delegate Pa...
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
which version of AEM are you using? I tried this in AEM 6.5. I will create a working example and will share with you.

Views

53

Likes

0

Replies

0
Re: AEM 6.5 Tags Permissions for non admin users
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
Hi, I think for tags, editing means deleting and creating new. that could be the reason tags doe snot work but if you remove read permission of /libs/cq/tagging/gui/content/tags/jcr:content/actions/selection/deletetag this will hide delete button.

Views

47

Likes

0

Replies

0
Re: Extend Teaser Component using Sling Model Delegate Pa...
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
@Model(adaptables = SlingHttpServletRequest.class, adapters = {Teaser.class,CustomTeaser.class}, resourceType = MyConstants.TEASER_RESOURCE_TYPE, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL) public class CustomTeaser implements Teaser { @Self @Via(type = ResourceSuperType.class) private Teaser teaser; private String newLinkUrl; @PostConstruct protected void init() { newLinkUrl = "/content/mypro/lang/somepath"; } public String getLinkURL() { return newLinkUrl; } }

Views

117

Like

1

Replies

3
Re: Text field in AEM enhance components does not allow a...
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
can you tell me the steps again, description in your question is confusing?

Views

94

Likes

0

Replies

0
Re: Unable to access Package share
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
You have to login with your company account/id.

Views

60

Like

1

Replies

0
Re: How to disable download icon for an asset in AEM 6.5?
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager Assets
If you want to disable it for all the users then you can simply write CSS. button._coral-ActionButton._coral-ActionButton--quiet._coral-QuickActions-item[title="Download"] { display: none; }

Views

42

Like

1

Replies

0
Re: Text field in AEM enhance components does not allow a...
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
It works for me, I just followed the steps you mentioned. 

Views

110

Likes

0

Replies

0
Re: Asset Finder Issue
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
Hi,Please check rendition as well.

Views

54

Like

1

Replies

0
Re: whitelist aria label in xss protection
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
Hi,pleasefollow the below article to add new attribute in link pluginhttp://experience-aem.blogspot.com/2017/09/aem-63-touch-ui-extend-rich-text-link-dialog-add-rel-select.html

Views

51

Like

1

Replies

0
Re: Text field in AEM enhance components does not allow a...
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
Are you using line break(Shift+Enter or ) or entering(Enter) to new line?

Views

149

Like

1

Replies

5
Re: Need POM.xml for mssql jdbc driver wrapper
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
you need to update apps POM.XML to copy sql bundle in apps/yourapp/install folder same as your project bundle.

Views

57

Like

1

Replies

0
Re: Obtaining resourceresolver in Sling Model
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
Could you please try to get page property by injecting page object using below:@ScriptVariable private Page currentPage;and try to add default injection policy as welldefaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL ---------------------------Note : just FYIthe @inject may not work because of multiple type of adaptable used. If you want to use only @inject annotations then you have to inject using @Via.

Views

78

Like

1

Replies

0
Re: AEM 6.5 Tags Permissions for non admin users
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
Hi,If user has permission to modify and not delete the tags then user should not be able to delete but modify.I would suggest to create a custom tag group and assign permission to this group except delete and add user to this group.also check if modify tag permission should not be applied from other groups of the users, if this is the case then you can simply hide delete button for those users using deny access(/libs/cq/tagging/gui/content/tags/jcr:content/actions/selection/deletetag)

Views

92

Like

1

Replies

3
Re: Incorrect Page Status code
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
Your path is wrong, try with below command curl -u admin:admin -I https://author.dev.demo.adobecqms.net/content/demo/author-test-page

Views

55

Like

1

Replies

0
Re: Error building project with archetype 24 - dispatcher...
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
Hi,What did you use while creating a project for aemVersion? aemVersionTarget AEM version (can be cloud for AEM as a Cloud Service; or 6.5.0, 6.4.4, or 6.3.3 AEMaaCS project structure looks like below:https://github.com/arunpatidar02/aemaacs-aemlab

Views

70

Like

1

Replies

0
Re: Best practice to setup SFDC cloud config on Publisher...
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
we use environment specific package generation based on run mode, there we use run mode specific changes e.g. cloud config etc. Can you please check with other how they handle this situation.

Views

46

Likes

0

Replies

0
Re: column control component: should I use responsivegrid...
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
Please check https://helpx.adobe.com/experience-manager/using/bootstrap_grid.html

Views

78

Likes

2

Replies

0
Re: Get component resource in a servlet
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
Please check datasource example at Datasource servlethttps://github.com/adobe/aem-core-wcm-components/blob/master/bundles/core/src/main/java/com/adobe/cq/wcm/core/components/internal/servlets/AllowedHeadingElementsDataSourceServlet.javaDailoghttps://github.com/adobe/aem-core-wcm-components/blob/master/content/src/content/jcr_root/apps/core/wcm/components/title/v2/title/_cq_dialog/.content.xmlDesign Dialoghttps://github.com/adobe/aem-core-wcm-components/blob/master/content/src/content/jcr_root/ap...

Views

103

Likes

2

Replies

3
Re: composite component containing other components
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
Please check datasource example at Datasource servlethttps://github.com/adobe/aem-core-wcm-components/blob/master/bundles/core/src/main/java/com/adobe/cq/wcm/core/components/internal/servlets/AllowedHeadingElementsDataSourceServlet.javaDailoghttps://github.com/adobe/aem-core-wcm-components/blob/master/content/src/content/jcr_root/apps/core/wcm/components/title/v2/title/_cq_dialog/.content.xmlDesign Dialoghttps://github.com/adobe/aem-core-wcm-components/blob/master/content/src/content/jcr_root/ap...

Views

68

Likes

0

Replies

0
Re: React Components // SPA // Url Shortening
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
Did you try, sling output rewriter https://sling.apache.org/documentation/bundles/output-rewriting-pipelines-org-apache-sling-rewriter.htmle.g. https://helpx.adobe.com/experience-manager/using/aem63_link_rewriter.html

Views

66

Likes

0

Replies

0
Re: Is there a way to to add reusable parts of dialog und...
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
Yes, Still you need to create property which you want to override, other properties will gets inherited

Views

58

Likes

0

Replies

0
Re: composite component containing other components
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
HiFrom the logs I can see, the contentResource could be null.You can check the below sample code to get Policy value from design (e.g. is only for String type, but you can change the types)/** * Method reads design dialog property and sets it. * * @Param resource - resource * @Param propertyName - propertyName * @Return String - property value or null */ public static String getDesignPropertyValue(Resource resource, String propertyName, String defaultValue) { ResourceResolver resourceResolver = ...

Views

89

Like

1

Replies

3
Re: Best practice to setup SFDC cloud config on Publisher...
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
I think, you can keep cloud configuration within your code base, if you are setting, custom cloud config.Check if cloud configs are not Final/Protected types then there won't be any problem.

Views

69

Like

1

Replies

2
Re: Does AEM have the capability to store a list of PDF d...
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
AEM core component provides, PDF viewer componenthttps://experienceleague.adobe.com/docs/experience-manager-core-components/using/components/pdf-viewer.html?lang=en#components

Views

52

Likes

2

Replies

0
Re: Tag changes are not reflected automatically in the co...
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
Please check OOTB AEM behavior when you move tagshttps://helpx.adobe.com/experience-manager/6-3/sites/developing/using/framework.html#MovingandMergingTags

Views

53

Like

1

Replies

0
Re: CustomFilter is overriding OOTB RewriteFilter
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
If you just want to replace the content, you can use sling output rewriterhttps://sling.apache.org/documentation/bundles/output-rewriting-pipelines-org-apache-sling-rewriter.html

Views

75

Like

1

Replies

0
Re: AEM 6.3 TO detect from desktop or mobile from which t...
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
$(document).ready(function(){ const componentSelector =".mycomponent1" let componentInit = $(componentSelector).data("jsInit"); if(componentInit == false){ // logic // set data.-init to ture $(componentSelector).data("jsInit", true); } });

Views

63

Likes

0

Replies

0
Re: design mode in slightly
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
It is not working for me as well and I noticed the cookies are not getting updated but updating in classic mode.

Views

109

Likes

0

Replies

0
Re: AEM 6.3 TO detect from desktop or mobile from which t...
Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
- Adobe Experience Manager
If you have to use components twice just only for 2 different viewports then your design is wrong.Anyways, you should not check the device from the backend due to caching, it will create other issues.There can be a solution - Add a data attribute(data-js-init="false") in your component DOM. when js initialize/act on your component then change the value to true. write a condition on js it only acts on the component if js value is false.

Views

103

Like

1

Replies

2