since ‎31-07-2020
‎18-08-2020
aradhyakasat
Level 1
Re: Exporting an AEM Site
Avatar

aradhyakasat

aradhyakasat
- Adobe Experience Manager
Yes, that was the issue. The version of core jar in ui.apps was an older version which is why I couldnt see my servlets in action. Thanks for your help 🙂

Views

166

Likes

0

Replies

0
Re: Exporting an AEM Site
Avatar

aradhyakasat

aradhyakasat
- Adobe Experience Manager
@BrianKasingli I navigated to ui.apps package and could see the jar present there inside apps/proj/install. The issue was that it contained an older version of the core jar which was then flowing as is into the all.snapshot. I deleted it and did a clean maven install which got the latest core jar in there. Thanks for your help. 🙂

Views

146

Likes

0

Replies

0
Re: Exporting an AEM Site
Avatar

aradhyakasat

aradhyakasat
- Adobe Experience Manager
@Arun_PatidarI navigated to ui.apps package and could see the jar present there inside apps/proj/install. The issue was that it contained an older version of the core jar for some reason. I deleted it and did a clean maven install which got the latest core jar in there. Thanks for your help. 🙂

Views

152

Likes

0

Replies

0
Exporting an AEM Site
Avatar

aradhyakasat

aradhyakasat
- Adobe Experience Manager
So I have an AEM website with the entire folder structure including the core package with java files. The way I'm currently exporting it to be able to run on any other machine is that I download the "samplewebsite.all.SNAPSHOT " through CRXDE and upload the same on the other machine through CRXDE. For the core package, I do a maven build and then upload the "samplewebsite.core.SNAPSHOT" jar through system/console/bundles. I'm curious to know if this process can be reduced down to just one packag...

Views

287

Likes

0

Replies

7
Re: Unable to access servlet
Avatar

aradhyakasat

aradhyakasat
- Adobe Experience Manager
@BrianKasingli For option 1, you basically mean a maven build like mvn clean install -PauthoInstallSinglePackage. ?

Views

219

Likes

0

Replies

0
Re: Unable to access servlet
Avatar

aradhyakasat

aradhyakasat
- Adobe Experience Manager
@BrianKasingli The core package is active, however I dont have my servlet running as a service, which I guess is the issue. Any fixes you can recommend?

Views

231

Likes

0

Replies

0
Re: Unable to access servlet
Avatar

aradhyakasat

aradhyakasat
- Adobe Experience Manager
@BrianKasingli I see no errors in the logs. Even on the frontend theres an empty space where my custom component is supposed to render. Just curious, if I've set my resourceType same as in the servlet, what could be the issue

Views

241

Likes

0

Replies

0
Unable to access servlet
Avatar

aradhyakasat

aradhyakasat
- Adobe Experience Manager
So I have a aem project that I'm trying to run on a different machine. I just zipped my repository, unzipped it on the destination machine and did a maven build and deploy. I can see all my pages come up along with my components However I faced an issue. One of my custom components uses a servlet for populating a configuration dialog dropdown. It is linked with the cq:dialog using sling.servlet.resourceTypes. But the component is unable to populate the dropdown, probably because it is unable to ...

Views

278

Like

1

Replies

8
Re: Optimise AEM page with multiple custom components
Avatar

aradhyakasat

aradhyakasat
- Adobe Experience Manager
@BrianKasingli that sounds like an interesting approach. Is there a resource I can look at for reference since I'm relatively new to AEM.

Views

144

Likes

0

Replies

0
Re: Optimise AEM page with multiple custom components
Avatar

aradhyakasat

aradhyakasat
- Adobe Experience Manager
@Shashi_MuluguThanks for your response. Currently the way I've set it up is that it'll make the rest call for both the end user content and on the authoring side. The content gets updated once a month or quarterly. Also its public content, nothing confidential. For the 2nd and 3rd solutions, can you point me towards an example I can refer to?Thanks!

Views

127

Likes

0

Replies

0
Re: Optimise AEM page with multiple custom components
Avatar

aradhyakasat

aradhyakasat
- Adobe Experience Manager
@BrianKasingli The content from 3rd party API updates once a month or a quarter. There are about 15 content categories currently. Yes, in the response from the 3rd party API, we get an HTML for the content, which I directly render.I did a little experiment where I incrementally placed my custom component on the page and saw the page load time increase linearly. Does that mean all these API calls are made sequentially? My understanding was that all the XHR request-responses for my component would...

Views

165

Likes

0

Replies

0
Optimise AEM page with multiple custom components
Avatar

aradhyakasat

aradhyakasat
- Adobe Experience Manager
So I'm currently using AEM 6.5 for a demo website I'm trying to build. The use-case is I need to pull content from a content management system(CMS) using restful API's to build this site. For this purpose, I've created a custom component that has a dropdown in its configuration for the different content categories available in the CMS. Now based on this content category and a unique id from the request parameters, I make a rest API call to my CMS to get data. I place this custom component at mul...

Views

264

Likes

0

Replies

8
Likes given to
Likes from