since ‎07-04-2016
‎19-10-2020
Nupur_Jain
MVP
Re: org.apache.sling.security-1.1.12 dependency for SVG i...
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi, I am assuming you only want to add this dependency because you want to get it installed in OSGI but you don't have its use in your code. Follow below steps to install the jar with project installation via maven:1. Download the jar2. Create a install folder if not already present in your project structure "my-project/ui.apps/src/main/content/jcr_root/apps/my-site/install"3. Place the sling security jar in this install folder4. Run mvn command to install project to AEM5. Check if the jar is in...

Views

979

Like

1

Replies

0
Re: Change rootPath of the pathbrowser depending on the context where the component is added
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi, Is it Touch UI dialog or classic UI?

Views

1.0K

Likes

0

Replies

0
Re: How to bundle third party libraries or bundles
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Glad it helped

Views

1.1K

Likes

0

Replies

0
Re: Granite select option isn't working as expected
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Josh, I have never seen required attribute working for SELECT. Thanks,Nupur

Views

630

Likes

0

Replies

0
Re: How to include a user with permissions in a content package?
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
No I haven't.Nupur

Views

6.8K

Likes

0

Replies

0
Re: Granite select option isn't working as expected
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi Josh,I believe the functionality you want to achieve is not possible with just field values, you have to write the js validation code for this.For this modify your select node structure as : Create a clientlibray with category as "cq.authoring.dialog" and write the following js code for validation on form submission:(function (document, $, ns) { $(document).on("click", ".cq-dialog-submit", function (e) { e.stopPropagation(); e.preventDefault(); // stop default form submission var $myform ...

Views

610

Likes

0

Replies

0
Re: How to bundle third party libraries or bundles
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi Veena,There is a way where you can just make the third party bundle part of the project bundle.Suppose you have a third party bundle called 'thirdparty.jar'. Follow the steps :1. Add dependency to the pom.xml com.thirdparty my-bundle 1.0.0 system ${project.basedir}/../repo/thirdparty.jar if you have the bundle in your system , you can simply give the path to that bundle using the scope 'system'. Here, the folder 'repo' is besides the bundle folder in the project structure.2. In your maven b...

Views

980

Likes

2

Replies

0
Re: How to move a node to a particular position programmatically?
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi Vikram,There is com.day.cq.commons.jcr.JcrUtil API available through which you can reorder/move your nodes.There is setChildNodeOrder() method where you specify the new order for the children. Hope this helps!Nupur

Views

764

Like

1

Replies

0
Re: [New] Welcome to AEM Community! Please Introduce Yourself
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi Everyone,I am Nupur Jain, an AEM and java developer in TO THE NEW. It has been 1.4 years working on AEM . I enjoy reading Adobe Forums as there is so much to learn. I love painting and watching movies.I am happy to be the part of the community!Thank you!Nupur

Views

9.0K

Like

1

Replies

0
Re: [New] Welcome to AEM Community! Please Introduce Yourself
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi Everyone,I am Nupur Jain, an AEM and java developer in TO THE NEW. It has been one and a half years working on AEM . I enjoy reading Adobe Forums as there is so much to learn. I love painting and watching movies.I am happy to be the part of the community!Thank you!Nupur

Views

14.2K

Like

1

Replies

0
Re: Updating tagging languages property (http://localhost:4522/crx/de/index.jsp#/etc/tags) from an AEM Eclipse project?
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi,Can you make sure that you have included the path /etc/tags in your filter.xml file under the /src/main/META-INF/vault . Thank you!Nupur

Views

585

Like

1

Replies

0
Re: how to make textfield non editable in dialog box
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi,Unfortunately there is no widget property that can make your field non editable but there is listeners node available to take action on various widgets events. you can use loadContent event to explicitly set the field to readonly.Here is the screenshot for your reference.I have used simple jqueryfunction(field,record,path){ $("input[name='"+ field.name+"']" ).attr("readonly",true); }Hope this helps!Thank you!Nupur

Views

2.0K

Likes

0

Replies

0
Re: Whats the differnece between getResource() and resolve() methods
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi,One more difference that I can find is that getResource() method returns null if the resource does not exist in the repository whereas the resolve() method returns the instance of the NonExistingResource if the resource does not exist where this NonExistingResource instance can further be used to create that resource.Thanks!Nupur

Views

1.2K

Likes

0

Replies

0
Re: Extra div getting added in sightly html markup in if-else condition
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi,It seems that you are placing closing div in wrong place, here in your code : just change your code to No extra would be created. Change it for third condition as well.Hope this helps!Nupur

Views

673

Likes

0

Replies

0
Re: AEM 6.2 - Update language list in Translation project -"Create Project" screen
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi,The path to the language list is configured in the service "com.adobe.granite.translation.core.impl.TranslationConfigService" and by default the path is /libs/wcm/core/resources/languages.Since it is not preferred to make changes directly in the libs , you can copy the list from libs to apps and make changes in the list.Now you can change the list path by going to the url http://:/system/console/configMgr and searching for the service "Translation Integration Framework Mappings" and change th...

Views

1.1K

Like

1

Replies

0
Re: Touch UI - Reuse Dialog Field
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi,Yes, In Touch UI , there is resourceType "granite/ui/components/foundation/include" which is equivalent of cqinclude of classic UI.Same as classic UI , there is path property whose value is equal to the path which you want to reuse. For ex: you want to reuse the dialog part "/apps/myproject/components/component1/cq:dialog/content/items/tabs/items/advanced" then this is the value to be used for path property. Do make sure not to use ".infinity.json" as it is not required in Touch UI dialogs.Ho...

Views

2.1K

Likes

2

Replies

0
Re: SightlyPageComponent.html does not include my own clientLib
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi,you are using : you can't have any element inside the tag where you are doing data-sly-include. The statement of data-sly-call won't be called.In order to include the clientlib in head, include your clientlib 'flex' in head.html that you are including using data-sly-include.Do these changes and your code will work fine.Hope this helps!Thank you !Nupur Jain

Views

610

Likes

0

Replies

0
Re: Using common template for differnt project having different css
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi,Since you want to include different clientlib as per different sites, you can keep a page property where you can select whether you are creating the page for site A or B or C, Then using this property you can make conditional include in html for clientlib using data-sly-testOr have base template where you keep a file clientlib.html which basically includes clientlib A , now create other two templates both having sling:resourceSuperType to first template .Now In these two template do nothing j...

Views

464

Likes

0

Replies

0
Re: How to handle scenario where changes are made to product data under etc/commerce imported from PIM.
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi,No need to customize it, path field is writable also , just write the path regex like "/etc/commerce/.*" to apply the launcher to every child under /etc/commerce .You can also take examples from various launchers created there in launchers tab.Hope this helps!Thank you!Nupur

Views

433

Likes

0

Replies

0
Re: How to handle scenario where changes are made to product data under etc/commerce imported from PIM.
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hello,I am expecting that you would be using launchers for worflow model.Launchers allows us to run the workflow on updation on node as well. you can create the workflow on node updation under etc/commerce and let workflow replace the page with new updated page.Hope this helps!Thank you!Nupur

Views

391

Likes

0

Replies

0
Re: Adding thumbnail image to Template
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager Assets
Hey,I don't think there is a way you can directly add thumbnail via DAM.If your thumbnail image exists in DAM, you can go to that image path in crx/de and copy it and paste it under template and rename it to thnumbnail.png. it is just a workaround.Or you can create a package , having the thumbnail image and just install it.Thanks,Nupur

Views

959

Likes

0

Replies

0
Re: Is it possible to add javascript in rte? If yes, then how?
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hey,In classic UI ,you can use Xtype htmleditor instead of rte if you want to write js. It won't remove the script tag. But for touch UI , I don't see any resourceType for that.Hope it helps!ThanksNupur

Views

908

Like

1

Replies

0
Re: Add Tab to Touch UI Page Properties
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi,In Order to get the similar functionality like xtype:cqinclude , there is resourceType "granite/ui/components/foundation/include" in Touch UI.You can use it like this :

Views

1.6K

Likes

0

Replies

0
Re: Retrieve dialog value in AEM 6.2 using jquery
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi,Are you talking about Classic dialog or Touch UI dialog ?

Views

916

Likes

0

Replies

1
Re: Need to block user input in pathbrowser
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hey Ankush,I once encountered the same scenario where I didn't want author to enter any input , only allowing him to select the path, I created the javascript for that which I included in "cq.authoring.dialog" clientlib category.Here is the javascript code sample that can help you :$(document).on("dialog-ready", function() { var pathReadonly = function() { setTimeout(function() { $(".path-readonly").find(".js-coral-pathbrowser-input").each(function() { $(this).attr("readonly", "readonly"); }); }...

Views

2.0K

Likes

0

Replies

1
Re: AEM 6.2 | Creating and Translating Language Copies | Touch UI
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hey Selva,This is the link : https://docs.adobe.com/docs/en/aem/6-2/administer/sites/translation/tc-prep.html where you can find the steps to create the language copy for AEM 6.2 Touch UI.Hope this helps! Thanks,Nupur

Views

791

Likes

0

Replies

0
Re: String[] type for Multivalued Properties - AEM
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
I Don't know whether it is a defect or implementation but have observed the same.Thanks,Nupur

Views

7.5K

Likes

0

Replies

0
Re: Clientlib is pulled in twice
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
What I can possibly think of is that you have copied the content from libs to apps i.e now there are two clientlib folders1. /libs/dam/gui/components/admin/adhocassetshare/clientlibs/shareembeddedpreview2. /apps/dam/gui/components/admin/adhocassetshare/clientlibs/shareembeddedpreviewwith category : embeddedadhocassetsharepreviewThis category embed your landing page clientlib : dam.gui.adhocshare.sharepageSomewhere in your page you are including clientlib : embeddedadhocassetsharepreviewnow, sinc...

Views

2.6K

Like

1

Replies

1
Re: Touch UI multifield not retaining the values
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager
Hi Vijay,I also encountered the same issue but solved it.This article can help : http://experience-aem.blogspot.in/2015/06/aem-61-touch-ui-composite-multifield-store-values-as-child-nodes.htmlAlso you can download sample package from this link : https://drive.google.com/file/d/0B4d6KmbLkAumRk5OeUlQY3N1c3c/viewHope this helps! Thanks,Nupur

Views

521

Likes

0

Replies

0
Re: How to achieve custom action type in Form component?
Avatar

Nupur_Jain

MVP

Nupur_Jain
- Adobe Experience Manager Forms
Hi Keerthana,Some options in the action dropdown field in advanced tab are present under the path '/libs/foundation/components/form/actions' in crx/de. Custom action can also be added to the dropdown list by creating the sling:Folder node with sling:resourceType 'foundation/components/form/action' under apps.Refer this link to create your own custom action https://docs.adobe.com/docs/en/cq/5-6-1/developing/developing-forms.html#Developing your own Form Actions Thanks,Nupur

Views

780

Likes

0

Replies

0