since ‎07-06-2016
‎10-12-2019
ksuren
Level 2
Re: AEM Querybuilder sort doesn't work if folder names have numbers ksuren - Adobe Experience Manager
You are right aneeta45259594​ but i found the reason for my issue.The way folders are setup by customer is that they are using a "friendly name" (jcr:title) for display, while node name is kind of ID so they can identify it (according to their internal legacy database). As belowSo i had to change my query sort based on "node name" (orderby=nodename) instead of "jcr:title".Final query:path=/content/dam/sxm-apps/channel-assetsproperty=jcr:primaryTypeproperty.1_value=sling:OrderedFolderproperty.2_v...
433
Views
0
Likes
0
Answers
AEM Querybuilder sort doesn't work if folder names have numbers ksuren - Adobe Experience Manager
I have a folder that have some sub-folders named as 8134, 9094 along with only text. The query builder predicate `orderby=@jcr:content/jcr:title` sorts the folder names if there are no numbers in the folder names. But if they do, the sort oder is not correct. What am i missing or doing wrong?My query:path=/content/dam/sxm-apps/channel-assetsproperty=jcr:primaryTypeproperty.1_value=sling:OrderedFolderproperty.2_value=sling:Folderp.limit=-1p.guesstotal=truepath.flat=trueorderby=@jcr:content/jcr:ti...
889
Views
0
Likes
3
Answers and Comments
Re: AEM Querybuilder - How to return only the folders under a path? ksuren - Adobe Experience Manager
Works like a charm.. thanks arunp99088702​ , saved me a ton of time!
643
Views
0
Likes
0
Answers
Re: AEM Querybuilder - How to return only the folders under a path? ksuren - Adobe Experience Manager
I'm looking to return folders and using "sling:OrderedFolder" or "sling"Folder", query returning sub-folders also. I wanted only top level under "/content/dam/we-retail/en"
605
Views
0
Likes
0
Answers
AEM Querybuilder - How to return only the folders under a path? ksuren - Adobe Experience Manager
I'm trying to rerun only the folders from a given path using query builder on AEMQuery:path=/content/dam/we-retail/en type=sling:OrderedFolder p.hits=selectivep.nodedepth=1 p.limit=-1 Or URL http://localhost:4502/bin/querybuilder.json?p.hits=selective&p.limit=-1&path=%2fcontent%2fdam%2fwe-retail%2fen&type=slin… The query returns 35 records, while there are only 6 folders under /content/dam/we-retail/en. How can i return only these 6?
1200
Views
1
Like
4
Answers and Comments
Blank screen / 404 when trying to access some assets on AEM 6.3 ksuren - Adobe Experience Manager
votefavI'm seeing a blank screen when accessing an asset on Adobe Experience Manager (AEM) 6.3When we try to access the asset like below, we are seeing a blank screen:https://localhost:4502/content/dam/promo-tiles/indy500-v4-1135-1920x1920%20(1).jpgSnippet from error log:25.05.2018 13:15:59.980 *ERROR* [192.150.10.208 [1527268559974] GET /content/dam/promo-tiles/indy500-v4-1135-1920x1920%20(1).jpg HTTP/1.1] com.adobe.acs.commons.util.ResourceDataUtil Error creating the String representation for:...
941
Views
0
Likes
1
Replies
Re: How to retrieve all properties of an asset using the QueryBuilder Api ksuren - Adobe Experience Manager
After some research, i found the below solution. There is no method that will return all the properties of an Asset (or a Node. Asset is also a node) in AEM. We have to do this in a combination.Get all the top level properties (Node root level). These include jcr:created, jcr:createdBy, etc.Get all jcr:content level properties. These include cq:name, cq:lastModified, etcGet all jcr:content\metadata level properties. These include dc:title, any custom metadata etc.You can add all these to another...
681
Views
1
Like
0
Replies
How to retrieve all properties of an asset using the QueryBuilder Api ksuren - Adobe Experience Manager
When i use the below query on http://localhost:4502/libs/cq/search/content/querydebug.htmlpath=/content/dam/we-retailtype=dam:Assetp.limit=-1p.nodedepth=2p.hits=fullp.guesstotal=truethe formed URL/JSON querybuilder link is : http://localhost:4502/bin/querybuilder.json?p.guesstotal=true&p.hits=full&p.limit=-1&p.nodedepth=2&path=%2fcontent%2fdam… I can see all the properties for each asset including jcr:content, metadata as below:I need to return the same result to service/endpoint i'm building on...
1902
Views
1
Like
1
Replies
Asset Publish shows NullPointerException in Replication Agent log ksuren - Adobe Experience Manager
On an Asset publish, we’re seeing this in the replication agent’s log. The same work on Stage but is failing on Prod. This was working earlier but seeing this now.25.04.2018 17:29:20 - INFO - mddb-replication-agent-dev : Creating content for path /content/dam/test/220px-Sirius_XM_Radio_Logo.svg.png 25.04.2018 17:29:20 - ERROR - mddb-replication-agent-dev : Error while building replication content java.lang.NullPointerException Environment: AEM 6.3 SP1, CFP 2 Are we missing anything?
820
Views
0
Likes
1
Answers and Comments
Re: AEM 6.0 Architect 9A0-385 Certification Tips and Discussion ksuren - Adobe Experience Manager
It’s not Adobe but is a general concept of Software Architecture. These may help:Conceptual, Logical and Physical Data Model http://www.datamodel.com/index.php/articles/what-are-conceptual-logical-and-physical-data-models/
1027
Views
1
Like
0
Replies
Re: Programmatically enable disabled account ksuren - Adobe Experience Manager
Is this stil the case, do we have an "enable" method to enable a disabled user?I cannot see it in the API: https://jackrabbit.apache.org/api/2.8/index.html?org/apache/jackrabbit/api/security/user/User.html
348
Views
0
Likes
0
Answers
Re: ACS Commons Error Page Handling Issues On Dispatcher ksuren - Adobe Experience Manager
ksuren wrote... This has been fixed https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/957 The updated version https://github.com/Adobe-Consulting-Services/acs-aem-commons/releases/tag/acs-aem-commons-3.8.4 should have the fix If you still see any issue, try these:1. Update ACS Commons to the new version 3.8.42. Open http://:/system/console/bundles and look for “Apache Sling Commons FileSystem ClassLoader”. Make a not of the bundle number. It is generally 3053. Open terminal/she...
623
Views
0
Likes
0
Replies
Re: Asset/Page expiration alerts in AEM ksuren - Adobe Experience Manager
Kkkrish wrote... Thanks Kautuk Sahni, The document also states that only the asset creator is going to get notified, Am looking for a business case where a page/asset expiry notifications for a groups which will have only set of DAM Assets folder access. (i.e. Many to Many relationship between the page/asset paths to the group of users) Krish, we have a similar requirement, wanted to know if you were able to solve this? We are thinking of developing a custom program that will be scheduled to run...
1244
Views
0
Likes
0
Answers
Re: ACS Commons Error Page Handling Issues On Dispatcher ksuren - Adobe Experience Manager
This has been fixed https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/957The updated version https://github.com/Adobe-Consulting-Services/acs-aem-commons/releases/tag/acs-aem-commons-3.8.4 should have the fix
623
Views
0
Likes
1
Replies
Re: 6.2 Sling model Inject annotation ksuren - Adobe Experience Manager
kautuksahni wrote... Hi, Please add:- org.apache.geronimo.specs geronimo-atinject_1.0_spec 1.0 provided 1. Go to depfinder:- http://localhost:4502/system/console/depfinder 2. add "javax.inject.Inject" Result will be:- I hope this will help you. Thanks and Regards Kautuk Sahni I'm able to find javax.inject.Inject as shown in the screenshot, what do i need to do then? I cannot see my project's package here in the list though? And the error still persists. My bundle is not Active.
778
Views
0
Likes
0
Answers
Re: How to execute a shell script using ProcessBuilder from Sling Servlet ksuren - Adobe Experience Manager
I found two solutions for the problem:1. Run the java code to print the result of the processBuilder.environment(). This shows the properties, paths etc where AEM is using to execute. the output looks like this{PATH=/usr/java/latest/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/crx/.local/bin:/home/crx/bin, HISTCONTROL=ignoredups, LESSOPEN=||/usr/bin/lesspipe.sh %s, SHELL=/bin/bash, HISTSIZE=1000, OLDPWD=/home/crx, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, USER=crx, LANG=en_...
1177
Views
0
Likes
0
Answers
Re: How to execute a shell script using ProcessBuilder from Sling Servlet ksuren - Adobe Experience Manager
Jörg Hoh wrote... Hi, can the AEM instance user (the user which runs the AEM process) execute this script? Permissions? Executable bit? Selinux enabled? Jörg I'm trying to create the same user (user on linux server) on AEM. The user on server has the permissions to execute the script, but how do i map the user on AEM to have execute permissions of the script?
870
Views
0
Likes
0
Answers
How to execute a shell script using ProcessBuilder from Sling Servlet ksuren - Adobe Experience Manager
We are trying to execute a shell script from a Servlet but not able to. User makes a request [ http://localhost:4502/services/myservice ] , the get() in SlingServlet calls the below:ProcessBuilder processBuilder = new ProcessBuilder("vltexport.sh", "myArg1", "myArg2");We get an "IOException.. Cannot run the program.. File not found”.I tried all the below options.. but none worked:1. Added the script to PATH2. processBuilder = new ProcessBuilder("/bin/bash -c vltexport.sh","/apps/swa","/Users/kon...
3809
Views
0
Likes
4
Answers and Comments
Re: Unable to update the project team ksuren - Adobe Experience Manager
Posted a solution here :http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.forum__ndy0-im_trying_tocreate__hxgd-after_some_research._s_1_tosp.html/forum__ndy0-im_trying_tocreate.html#forum__ndy0-im_trying_tocreate__hxgd-after_some_researchBriefly, add "Owner" first to the Project before you add any other "Users".
504
Views
0
Likes
0
Answers
Re: How to add Users and Roles to a Project created using AEM 6.2 Project API? ksuren - Adobe Experience Manager
After some research and testing, i found the solution.The Solution is to add an Owner to the Project before any Users are assigned to the project.So when you callproject.updateMembers(userIds, roleIds);make sure the first values for the userIds and roleIds lists' are of the owner, and then the other users will follow.For example:List userIds = new ArrayList{}; userIds.add("suren"); userIds.add("vassu"); List roleIds = new ArrayList{}; userIds.add("owner"); userIds.add("designer");Some background...
368
Views
0
Likes
0
Answers
How to add Users and Roles to a Project created using AEM 6.2 Project API? ksuren - Adobe Experience Manager
I'm trying to create Projects in AEM 6.2 using the new Project API [ https://docs.adobe.com/docs/en/aem/6-2/develop/ref/javadoc/com/adobe/cq/projects/api/Project.html ]I am able to create the Project and also use a Template that i developed for that Project.When i am trying to add Users and Roles to the Project using the method project = projectManager.createProject("/contents/projects", "Project1", "Project Name", "Creating a Test Project", "/apps/myproj/projects/templates/default"); ... List u...
735
Views
0
Likes
2
Answers and Comments
Re: Unable to update the project team ksuren - Adobe Experience Manager
Found any solutions? I have the same issue.
480
Views
0
Likes
0
Answers
Re: Why user generated content is stored in separate node structure and not in the same content node as page ksuren - Adobe Experience Manager
dwalling wrote... One reason: ACLs on the pages are typically different than ACLs on the UGC itself. Typically UGC can be edited by the original poster as well as privileged users, whereas the corresponding pages cannot. Second, the page nodes are always stored in JCR and only forward replicated. For UGC nodes, in AEM 6.1 and beyond the UGC nodes are stored in a configured SRP "common store". In AEM 6.0 and earlier, UGC nodes were reverse replicated to author and then forward replicated to other...
393
Views
0
Likes
0
Answers
Re: AEM as the sole ecommerce solution ksuren - Adobe Experience Manager
Good thought.Below are my thoughts:If the requirement for an ecommerce solution is basic and does not need advanced features, then YES we can use AEM eCommerce.AEM eCommerce is still not a sophisticated and well grown product. For enterprises, they'll need more features and functions from an eCommerce platform. Like Adobe mastered the Web CMS, solutions like Hybris, Elasticpath, Magento have mastered ecommerce and they keep updating their product.Also performance maybe an issue if AEM eCommerce ...
183
Views
0
Likes
0
Answers
Re: AEM queries ksuren - Adobe Experience Manager
There are several way. Maybe this can help:https://docs.adobe.com/docs/en/aem/6-0/deploy/upgrade/queries-and-indexing.htmland if you can add more detail to your other questions about JSP reading css.txt/js.txt? Maybe you can add as another question here if the context is different.
940
Views
0
Likes
0
Replies
Re: AEM 6.0 Architect 9A0-385 Certification Tips and Discussion ksuren - Adobe Experience Manager
Here are my thoughts:1. The "back-end database" confused me. Is this AEM or an external database somewhere? What's your recommendation on how to deal with ambiguous questions like this in the exam? [Suren's comments: Yes that can be an external database, also we generally do not use a database for AEM. We may have to read the question several times and try to build context around it to see what makes sense and what does not. Moreover we cannot argue or discuss or compete questions/answers before...
5834
Views
0
Likes
2
Replies