since ‎19-09-2018
‎10-12-2019
FernandoUchiyam
Level 2
ContextHub segmentation events FernandoUchiyam - Adobe Experience Manager
Hi there,I have a problem related to segmentation/ContextHub in which one of our components (that is already developed) is not working when we apply the Targetting feature.What happens is that the component relies on a page load javascript event. It listens for the page load event to initiate a count down.But with Targetting enabled, this event does not make sense anymore, because when the page finishes loading, the Targetting feature hasn't decided yet what segmentation will be chosen and the c...
158
Views
0
Likes
0
Replies
Re: Clientlib javascript import with async or defer FernandoUchiyam - Adobe Experience Manager
Hi guys,I found a solution and now I am able to use async with Javascript calls, and also have not lost the Versioned Clientibs feature from ACS Commons. I have done the following:a) Used the `nateyolles/aem-clientlib-async` library, available at GitHub;b) This lib is very old so you will need to make some changes to the code to use it with the latest AEM version (there are some hints in how to implement the fixes in the Pull Request tab from his Github);c) The last change you have to do, to mak...
437
Views
0
Likes
0
Answers
Clientlib javascript import with async or defer FernandoUchiyam - Adobe Experience Manager
Hi,I am working on a project that needs to write the async or defer attributes to the JS import.Basically, the resulting HTML should be something like this:Notice the "async" word/attribute in the end of link tag above. It should be possible to use "defer" too.I have found a library that can do this at Github (nateyolles/aem-clientlib-async), but unfortunately this code is not compatible with the latest AEM version and it also breaks the ACS Commons feature of Versioned Clientlibs.Anyone has any...
841
Views
0
Likes
4
Answers and Comments
Re: Search solution FernandoUchiyam - Adobe Experience Manager
Thank you for the answers, I got a better understanding of how search works now.I have another question. Our website is a set of different technologies. We have like:- Most of the pages built with Adobe AEM;- FAQ, Help and some other pages built with Angular JS (external app);- Other pages made with ASPX.(1) Using Aem Query Builder Is there a way to include in the search results content from these external pages made without Adobe AEM? Another constraint that I have is PDFs and Microsoft Word fi...
320
Views
0
Likes
0
Answers
Re: Search solution FernandoUchiyam - Adobe Experience Manager
Hi smacdonald2008​, I am looking for a solution where I don't need to install an external server (for example: external Solr server) - because I don't wanna maintaining that, and also a solution that I don't have to write code to insert/update/delete index information.Does Aem Query Builder always uses Apache Lucene to make the searches?
326
Views
0
Likes
0
Answers
Search solution FernandoUchiyam - Adobe Experience Manager
Hi guys, I have been reading about how to implement search in a Adobe AEM site.I have implemented it outside of AEM multiple times before, with Solr/Lucene, and I always had to go with the boring process of having to build code that inserts, updates and deletes content from the Solr/Lucene.My question is: Does Adobe AEM provide out of the box content integration with any search tool (like Solr or something alike)? (I mean, an Out of the Box integration that automatically insert/update/delete con...
1272
Views
0
Likes
7
Answers and Comments
Better organization for the Hobbes test cases FernandoUchiyam - Adobe Experience Manager
Hi guys,We've been assessing the use of Hobbes.js as the tool to do our UI testing, and we have reached to a problem regarding to the way the testcases are organized.We are using one Adobe AEM server/instance to host many websites.The problem is that when we access the main Hobbes.js screen (http://localhost:4502/libs/granite/testing/hobbes.html​ ), we don't have a way to filter or categorize the testcases. We would like to have a way to show only the testcases of a certain website, but all the ...
220
Views
1
Like
1
Answers and Comments
Re: Unit Test javascript files in AEM FernandoUchiyam - Adobe Experience Manager
Hi, Hobbes.js is a tool for UI Testing.I would like to know more about Unit Test.
267
Views
0
Likes
0
Answers
Unit Test javascript files in AEM FernandoUchiyam - Adobe Experience Manager
Hi guys,I have a requirement here in my company that we have to do unit tests on our Javascript files. What do you recommend? (we are already unit testing Java Sling Models, now we want to test javascript code).When I say Javascript I mean the JS files that are inside Clientlibs of custom developed Components. We want to do 100% coverage, so we need some way to build a report coverage too.
811
Views
1
Like
5
Answers and Comments
Re: Assets not being used FernandoUchiyam - Adobe Experience Manager
Ok, sorry, now I see, it is clear to me.Because we have the dispatcher and because we can also have a CDN like Akamai, not all requests reach the Adobe AEM server, making it impossible to have a log with all the requests to the asset.
504
Views
0
Likes
0
Answers
Re: Assets not being used FernandoUchiyam - Adobe Experience Manager
In theory there is a way, If we had a log file recording every access to the asset. It would be possible with a log like that.
371
Views
0
Likes
0
Answers
Re: Assets not being used FernandoUchiyam - Adobe Experience Manager
It seems that the OOTB feature is from the classic UI.Also, it doesn't detect access by an external system. We have other systems directly acessing our DAM, and we want to consider the asset as being used if these other system are acessing the asset.
369
Views
0
Likes
0
Answers
Assets not being used FernandoUchiyam - Adobe Experience Manager
Hi guys,Is there a way to find all unused DAM assets?Our assets are increasing in size and we want a way to delete all unused stuff.We have assets in our DAM (jpg, png, etc) being acessed by:a) Adobe AEM normal pages (reference by components or dialog properties);b) Referenced by url property of less (css) code;c) External systems directly acessing our assets through http requests.I think the only way to find the unused assets is by checking if the asset had no HTTP requests since X date.Does AE...
1626
Views
0
Likes
7
Answers and Comments
Re: Error uploading package with Package Manager FernandoUchiyam - Adobe Experience Manager
Hi guys,I found a workaround for this. It seems there is something wrong with the zip file.If I unpack the zip file download from Package Manager, and if I pack it again, it works fine. I used Linux Ubuntu 16.04 default zip/unzip file operations available from `Files` app for that.I will mark this thread as solved because I could find a workaround, but I think there is a bug here.
277
Views
0
Likes
0
Answers
Re: Error uploading package with Package Manager FernandoUchiyam - Adobe Experience Manager
Hi, I have tested it here, with the followings results:a) Build and download from localhost: upload to locahost (ok), to stage (FAIL), to preprod (FAIL);b) Build and download from stage: upload to localhost (ok), to stage (ok), to preprod (ok);c) Build and download from preprod: upload to localhost (ok), to stage (FAIL), to preprod (FAIL);Preprod is strange, it fails to install even to itself.The content of the package is very simple. It has only one filter: /content/mycompany/en-US. We want jus...
284
Views
0
Likes
0
Answers
Error uploading package with Package Manager FernandoUchiyam - Adobe Experience Manager
Hi everyone,I am trying to upload a basic package to stage environment (with Package Manage). It is a simple 1.5MB content package.When I click the button to upload, an animation of a loading icon stays forever in the screen.If I check the Chrome Dev Tools, it says the following in the console:"Failed to load resource: the server responded with a status of 500 (Internal Server Error)""Uncaught SyntaxError: Unexpected token < at doDecode (ext-all-debug.js:11527) at Object.decode (ext-all-debug.js...
560
Views
0
Likes
4
Answers and Comments
Re: Experience Fragment template and template-type FernandoUchiyam - Adobe Experience Manager
Thank you shashi1223 I haven't noticed this gear button.smacdonald2008​ I will have to create a new one because there are only three options available:- Facebook Experience Fragment- Pinterest Experience Frament- We Retail Experience FragmentI never changed the gear button configuration, and there are two lines there:- /libs/cq/experience-fragments/components/experiencefragment- /conf/we-retail/settings/wcm/templates/experience-fragment(.*)?Maybe I am missing a configuration here...
469
Views
0
Likes
0
Answers
Experience Fragment template and template-type FernandoUchiyam - Adobe Experience Manager
Hello,Is there any good tutorial about Experience Fragments variation (template/model) creation?Let me explain my problem. When I try to create a new Experience Fragment, I can only see and pick up "Facebook", "Pinterest" and "We.Retail" variations (models). So, with this, I realized that I need to create my own variation, my own model. There is a tutorial that shows a variation called "HTML5 Experience Fragment Web Template", but unfortunately I don't have it available in my AEM instance. So, I...
1668
Views
0
Likes
5
Answers and Comments
Re: Replication feature is breaking our instances (Package Manager) FernandoUchiyam - Adobe Experience Manager
Hi guys, we have opened a ticket on day care, the problem is solved now.Let me elaborate it here, so it can help others.The real problem was caused by a feature of ACS Commons called Versioned Clientlibs, that we have started using and is ready to be deployed.ACS Commons was installed on our `author` instance correctly, so we didn't have problems there. When whe replicated our apps package to the `publish` instance, the instance went down because ACS Commons was missing.What we couldn't understa...
292
Views
0
Likes
0
Answers
Re: Replication feature is breaking our instances (Package Manager) FernandoUchiyam - Adobe Experience Manager
It is something related to dispatcher.If we access the IP address directly, it is working.
269
Views
0
Likes
0
Answers
Re: Replication feature is breaking our instances (Package Manager) FernandoUchiyam - Adobe Experience Manager
This package is very small, it has something between 2~3 MB.Our `content` package is bigger, it has now like around 40MB (but the problem happens when trying to replicate the `apps` package).
262
Views
0
Likes
0
Answers
Replication feature is breaking our instances (Package Manager) FernandoUchiyam - Adobe Experience Manager
Hi guys,We have a problem in which in the exact moment we click to replicate our `apps` package, inside Package Manager, our instances all of them (author and publish) they break, they simply go down. They start returning http code 503 for everything, we can't even access CRXDE or Package Manager.I don't know if the http code is real, because it is being returned by Amazon ELB, there is a probability ELB is changing the original http code (our instances are under ELB).We have done this replicati...
757
Views
0
Likes
6
Answers and Comments
Re: Change page name FernandoUchiyam - Adobe Experience Manager
Thank you guys!
1323
Views
0
Likes
1
Replies
Change page name FernandoUchiyam - Adobe Experience Manager
Hi guys!Is there a way to change the page name once it has been created?The page name is a very important property of a page. For example, its value is used in the URL. We have a few pages that we would like to change the name.I searched a lot, but couldn't find a way to do that (for example, using CRXDE).Thanks,Fernando Uchiyama
1826
Views
0
Likes
4
Replies
Let author add tags to the head section of html page FernandoUchiyam - Adobe Experience Manager
Hello,I am looking for what is the best approach to let the author add meta tags (or even custom js and css scripts) to the HEAD html section of an Adobe AEM page.What are the possibilities?Thank you.
612
Views
0
Likes
2
Replies
Re: Body class page and basicpage FernandoUchiyam - Adobe Experience Manager
Hello,I searched around and dicovered how to add a different class there.You have to do the following:1) go to your editable template and edit it;2) Click "Page Information" icon and then "Page Policy";3) In the modal, select the "Styles" tab;4) Add a new custom style there;5) Now, open any page that is based in this template;You will see at the top of author area, an Style Icon that you can use to change the class name defined in the template.Selecting a style will add a class do the body class...
250
Views
0
Likes
0
Answers
Body class page and basicpage FernandoUchiyam - Adobe Experience Manager
Hi there,I have a question about a class that is being inserted on every page of our site.This is the code: My question is. Where does 'basicpage' comes from? I want to be able to specify a different class there, instead of `basicpage`. Where can I change it?Thank you
412
Views
1
Like
3
Answers and Comments
Re: UI Tests with Hobbes and Integration with Jenkins FernandoUchiyam - Adobe Experience Manager
Hi,Can you provide an installation & command execution example?I tested installing it with either:- npm install -g hobbes-runner- npm install hobbes-runner But couldn't execute it running any of the following commands:- hobbes-runner- npm run hobbes-runner- npm run ./node_modules/.bin/hobbes-runner- ./node_modules/.bin/hobbes-runnerAm I doing anything wrong?
1600
Views
0
Likes
0
Replies
Re: UI Tests with Hobbes and Integration with Jenkins FernandoUchiyam - Adobe Experience Manager
Thank you guys,Good to know that it is possible to integrate Hobbes with Jenkins.But I couldn't find any examples.
1600
Views
0
Likes
2
Replies
UI Tests with Hobbes and Integration with Jenkins FernandoUchiyam - Adobe Experience Manager
Hello guys,We want to starting writing UI tests for our Adobe AEM site. We are considering Hobbes, but also Selenium. We want to be able to run the tests with Jenkins or similar tool.The idea is to run the tests right after a developer commits something to GIT. We know that it is possible with Selenium. Is it possible with Hobbes too?
2050
Views
0
Likes
5
Replies
Likes given to
Likes from