since ‎30-05-2017
‎10-12-2019
Techaspect_Solu
Level 5
Re: Creating a trust store - SAML 2.0 Authentication
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,In AEM 6.4 instead of setting the TrustStore in the User Settings you can set a global TrustStore by navigating to Tools > Security > TrustStore or go to http://:/libs/granite/security/content/truststore.html in your instance.Here you can set the TrustStore username and password and upload the certificate file as you would do for 6.3 (as directed in the Adobe documentation) and you can obtain the certificate alias. You can then follow the steps as given in the document i.e. configuring the re...

Views

2.0K

Likes

2

Replies

0
Re: Upload images from desktop to DAM using Image Component
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,As Arun Patidar suggested you can write a listener and call a servlet using AssetManager API to implement your functionality.Here's is how we implemented the same and were able to upload the asset to DAM as we uploaded it to the image component.We are using the OOTB Image component and adding a listener file to get the asset and call a servlet. Here is the listener file that we used:function damUpload() { var imgPath = $(".cq-FileUpload-thumbnail-img img").attr("src").split('image')[0]; var i...

Views

1.7K

Like

1

Replies

0
Re: How to add multiple values for the rootpath in TouchUI path browser?
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
HiInstead of enabling multiple root paths for a path browser, you can follow this alternate approach of choosing your desired root path from a selection list in your dialog.On the basis of this selection, the root path of the pathbrowser can be set by writing a listener as follows:function changePath() { var selectElement = document.querySelector('coral-select[name="./rootPath"]'), inputElement = document.querySelector('input[name="./path"]'), span = document.querySelector('span.coral-Form-field...

Views

884

Likes

0

Replies

0
Re: How to pre-populate dynamic data in composite multifield ?
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,We could implement your use case by following the below helpx article:Adobe Experience Manager Help | Dynamically updating Adobe Experience Manager TouchUI Dialog Select FieldsBelow is the sample dialog.xml: Please find the screen-shots of sample OSGi configuration and dynamic drop-down inside a multi-field below:OSGi configuration:Sample dynamic drop-down inside multi-field:We hope this helps!Regards,TechAspect Solutions

Views

1.5K

Likes

0

Replies

1
Re: Converting HTML to PDF and saving the pdf in backend
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
HiInstead of passing the entire HTML as a parameter to servlet you can try to get the HTML of the webpage from backend itself using the path of the page.You can use the following block of code to retrieve the HTML from page path:public String getHTML(String filePath, SlingHttpServletRequest request, RequestResponseFactory requestResponseFactory, SlingRequestProcessor requestProcessor) throws ServletException, IOException { HttpServletRequest req = requestResponseFactory.createRequest("GET", file...

Views

1.4K

Likes

0

Replies

0
Re: Special Characters Search using Querybuilder
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,We could achieve your requirement by using the below query. We'd suggest you to give it a try and check if it works.For trying the below query, go to "/content/we-retail/ca/en/men" and change jcr:title property in title component to "Featured products ®". Then hit the following query from http://localhost:4502/libs/cq/search/content/querydebug.htmlpath=/content/we-retail/ca/en/menproperty=jcr:titleproperty.operation=likeproperty.value=%®%p.limit=-1You should see the result now.Hope this helps...

Views

1.5K

Likes

0

Replies

0
Re: Turn on smart/curly quotes?
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,You can add the curly quote symbols/characters in your RTE by adding them under "misctools" of your RTE. Add the nodes under misctools as shown below: You will be able to see the curly quotes under the misctool option now in the RTE and you can add it to your content as needed.You can go through this guide for better understanding Configuring the Rich Text Editor .Hope this helps!Regards,Techaspect Solutions

Views

1.1K

Like

1

Replies

0
Re: project structure/folder structure
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
HiBelow is a brief description of all the folders under crxde lite.1) The /apps folder is where you will store CQ5 elements such as Templates, Components, OSGi bundles, and static files. In order to start a new application/project, it is necessary to define a location for these elements. Typically, they are defined as a subfolder of the /apps folder(/apps/your project/components).2) The /content folder contains the pages you create for the website using the templates. All the data in the compone...

Views

1.7K

Likes

0

Replies

0
Re: could not find the main class com.adobe.granite.quickstart.base.impl.main
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,This error usually comes up when the JAR file is corrupted. We'd suggest you to check if the JAR file corrupted.FYI: You can check if your JAR file is corrupted using one of the following ways:1) When you try executing "java -jar cq-author-6.2-4502.jar" from command line, you should see an error indicating that your is corrupted in stderr.log file.2) You can extract the contents of AEM JAR file using 7-zip and verify if "Main-Class: com.adobe.granite.quickstart.base.impl.Main" is part of META...

Views

823

Like

1

Replies

0
Re: Roll out option is disabled in Blue prints
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,Possible reason behind your issue is, you might be checking for Roll-out option on Live Copy page. Instead you'll have to check for that option on Blueprint page.Following are the steps to see the Roll-out option:1) Create blueprint from http://localhost:4502/miscadmin#/etc/blueprints2) Once blueprint is created, open it and click on "Edit" option and enter the source path as shown in the below screen shot.3) Now create a new Live Copy by entering title, name and select Live Copy from and fro...

Views

946

Likes

0

Replies

0
Re: Issue in creating javax.jcr.session with the help of Resource Resolver
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi Prince,We'd like to suggest you to go through the below piece of code. It worked as expected for us and JCR session was created successfully.MyServlet.java:import java.io.IOException;import javax.jcr.Session;import javax.servlet.Servlet;import javax.servlet.ServletException;import org.apache.sling.api.SlingHttpServletRequest;import org.apache.sling.api.SlingHttpServletResponse;import org.apache.sling.api.servlets.SlingAllMethodsServlet;import org.osgi.service.component.annotations.Component;i...

Views

712

Likes

0

Replies

0
Re: Rich Text Editor, how to upgrade from 6.1 to 6.3?
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,The following article has an example with indetail steps to implement custom plugins for RTE in AEM 6.3:http://experience-aem.blogspot.com/2017/06/aem-63-touch-ui-rte-rich-text-editor-color-picker-plugin-inplace-dialog-edit.htmlYou can also follow this blog post for better understanding : https://helpx.adobe.com/experience-manager/6-3/sites/administering/using/rich-text-editor.htmlHope these suggestions help you!Regards,TechAspect Solutions

Views

7.6K

Likes

0

Replies

2
Re: unable to see components in sidebar
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,It looks like you have not added your component group and that is why you are not able to see your components in the sidebar. Please go to the design mode and add your component group there.For further details, kindly refer to the following link:Configuring Components in Design Mode We hope this helps!Regards,TechAspect Solutions

Views

1.2K

Likes

0

Replies

0
Re: TouchUI field description(tooltip) property in a form/select box not adding carriage return on rendered page
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,We replicated your code and its working fine for us as can be seen in the screenshot provided. It looks like you are doing some customization to your dialog due to which the default css for the tooltip is breaking and it is going out of the boundary.We have provided a screenshot for the tooltip behavior with broken css as well. Normal dialog:Dialog with broken css:We hope this helps!Regards,TechAspect Solutions

Views

3.1K

Likes

0

Replies

2
Re: AEM Integration with Tealium
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi Vipul,Once you go to http://localhost:4502/crx/packmgr/index.jsp and install tealium-aem-plugin- 1.1.0.zip (download from: https://github.com/Tealium/integration-adobe-aem/releases/download/v1.1/tealium-aem-plugin-1.1.0.zip) and tealium-examples zip (download from: https://github.com/Tealium/integration-adobe-aem/tree/master/tealium-examples), you need to create a system user as shown in the integration documentation that I had shared with you earlier.Later, you need to give read access to te...

Views

2.6K

Likes

0

Replies

1
Re: AEM Integration with Tealium
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,Tealium has a plugin to integrate it with AEM.This integration documentation can be found in GitHub: https://github.com/Tealium/integration-adobe-aemFYI: You can view an example integration in the /tealium-examples directory. Please refer the link below:https://github.com/Tealium/integration-adobe-aem/tree/master/tealium-examplesHope this information helps!Regards,TechAspect Solutions

Views

2.6K

Likes

0

Replies

3
Re: read page property in jsp page
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,There is no global object to get the inheritedPageProperties in JSP. We have to use InheritanceValueMap to get the properties.Use the following code snippet :<%@ page import="com.day.cq.commons.inherit.HierarchyNodeInheritanceValueMap, com.day.cq.commons.inherit.InheritanceValueMap%><%InheritanceValueMap ivm = new HierarchyNodeInheritanceValueMap(currentPage.getContentResource());String language = ivm.getInherited("language", String.class);boolean isEnglish = "en".equals(language);%>You can r...

Views

1.3K

Likes

0

Replies

0
Re: Xpath Query in AEM 6.3
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,You are getting all the child nodes (childproduct1.1, childproduct1.2, childproduct2.1, childproduct2.2) because of the path under which the query is being executed. Since all of these fall under the path "/jcr:root/content/data/myproject/products" it fetches all resources with sling:resourceType='myproject/common/components/template2.For the desired result you would need to first make the two while loops nested. Results from MAIN_QUERY would form the outer while loop and the ones we get from...

Views

2.4K

Like

1

Replies

1
Re: Need to understand the AEM 6.4 license
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,You can use your existing licenses for AEM 6.4. To know about all the changes and new features of AEM 6.4 refer the following link.https://helpx.adobe.com/experience-manager/6-4/release-notes.htmlHope this helps!Regards,TechAspect Solutions

Views

649

Likes

0

Replies

0
Re: Help with AEM multi field
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,You can create a custom client library and to have your client library loaded solely for your component dialog, you need to set the property extraClientLibs of your dialog to the category name of the client library you have just created. For more information on how to set extraClientLibs, you can refer to the below link:AEM Components for the Touch-Optimized UI Below is the sample js code to change the button text which is present inside Multi-field:$(function() { $(document).on("dialog-ready...

Views

874

Likes

0

Replies

0
Re: Sling Event Listener
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,There is no specific EVENT for the 'tags', instead of EVENT_TOPIC we can use EVENT_FILTER. The following code snippet can be used for the event to be triggered when tag is moved from one namespace to other.@Component( immediate = true, service = EventHandler.class, property = { EventConstants.EVENT_FILTER + "=(path=/etc/tags/*)", EventConstants.EVENT_TOPIC + "=" + SlingConstants.TOPIC_RESOURCE_ADDED, EventConstants.EVENT_TOPIC + "=" + SlingConstants.TOPIC_RESOURCE_CHANGED, EventConstants.EVEN...

Views

2.1K

Likes

0

Replies

0
Re: Touch UI multifield with Image and Rich text
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi Prasad,We could replicate your issue using your dialog.xml. Issue got resolved after changing the sling:resourceType of the image. Try replacing the sling:resourceType of an image to "cq/gui/components/authoring/dialog/fileupload". It should work. Let us know if it doesn't work, we will be more than happy to help you.Regards,TechAspect Solutions

Views

5.4K

Likes

0

Replies

7
Re: JSON Parser
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,The GSON JsonParser class can parse a JSON string or stream into a tree structure of Java objects. Before you can use the GSON JsonParser you must create a JsonParser instance. Here is an example of creating a JsonParser instance:JsonParser jsonParser = new JsonParser();Parsing JSON Into a Tree Structure:Once you have created a JsonParser you can parse JSON into a tree structure with it. Here is an example of parsing a JSON string into a tree structure of GSON objects with the JsonParser:Json...

Views

1.3K

Likes

0

Replies

0
Re: what can be defined as path for a sling servlet
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,You can add custom execution paths such as "healthcheck" in your case by following the steps below:1) Go to http://localhost:4502/system/console/configMgr2) Search for Apache Sling Servlet/Script Resolver and Error Handler3) Click on "+" symbol under Execution paths and add your custom execution path. For e.g. /healthcheck/NOTE: The Execution paths are the paths under which executable scripts will be searched. If a configured value ends with a slash, the whole sub tree is allowed. Without a s...

Views

1.3K

Likes

0

Replies

0
Re: In RTE dialog after switching to SourceEditMode, then clicking outside of the dialog RTE-toolbar dissapears
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,This is an expected behavior in AEM. Since a dialog can contain multiple RTE's, at a time, only one RTE's toolbar should be visible. Hence, it is decided to show the toolbar on clicking inside RTE.Please take a look at below forum questions. Engineering team answer was mentioned in the below forum questions:RTE plugin menu is not visible until you click inside the RTE textarea in AEM 6.3 touch UI dialog AEM 6.3 richtext Hope this helps!Regards,TechAspect Solutions

Views

6.3K

Like

1

Replies

1
Re: How to Override @Propertyoption value from run mode specific configuration ?
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi Prakash,We've tested your code snippet and we could replicate the same issue. However, we could resolve the issue by replacing the below part of your code snippet:@Property(name = "Gender", description = "Gender", label = "Gender", options = { @PropertyOption(name = "Male", value = "male"), @PropertyOption(name = "Female", value = "female") }, value = "female")Expected code is:@Property(name = "Gender", description = "Gender", label = "Gender", options = { @PropertyOption(name = "male", value...

Views

921

Likes

0

Replies

0
Re: RTE field editable issue in touch UI dialog
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,Please refer the below link:Experiencing Adobe Experience Manager - Day CQ: AEM 61 - Touch UI Composite Multifield with Rich Text Editor (RTE) It has a brief description on how to create a composite multifield component with rich-text inside it (in AEM 6.1). The above link also has a demo package. We've tested the above package in AEM 6.1 and it is working as expected for us. Could you please take a look at the package as it might help you in debugging your issue. If you still see the same is...

Views

1.2K

Likes

0

Replies

1
Re: Using listeners inside multifield in AEM 6.3 touch UI
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,You can follow the steps given in the following link for a custom listener in the multifield:http://experience-aem.blogspot.in/2017/12/aem-63-sample-coral-3-multifield-item-listener.htmlWe have followed the same approach, only changing the JS to something simpler, and it is working for multifield node in AEM 6.3 . This is the JS that we used, where "name" should be the value of the 'name' property given to your node:(function($, $document) { "use strict"; $document.on("dialog-ready", function...

Views

804

Likes

0

Replies

0
Re: Alt text issue in links in RTE when alt text has a special character
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,Instead of using @ context = 'unsafe', it's good to use AntiSamy configuration file in CRXDE light to handle your use-case.We've tested your use-case and it got resolved after following the below steps:1) Copy /libs/cq/xssprotection/config.xml to /apps/cq/xssprotection/config.xml.2) Open /apps/cq/xssprotection/config.xml.3) In the config.xml file, search for common-attributes and add the following target attribute declaration. 4) Search for the term 6) Save the file. Now, test your use-case...

Views

699

Like

1

Replies

0
Re: AEM6.3 - Issue with a pathfield in a multifield dialog
Avatar

Techaspect_Solu

Techaspect_Solu
- Adobe Experience Manager
Hi,Please refer the link below. It has an example package (in AEM 6.3) which uses multifield component that has pathfield as one of the fields (granite/ui/components/coral/foundation/form/pathfield) in it.We've tested the package from below link and it worked fine for us.https://helpx.adobe.com/experience-manager/using/aem63_htl_repeat_slingmodel.htmlCould you please take a look at the example package and give it a try? Please let us know if you still see the same issue. We'll be more than happy...

Views

1.4K

Likes

0

Replies

0