Menu

How to download AEM archetype project from Adobe repository?

Prerequisite 

Add this profile in maven settings.xml file to fetch the project structure content from Adobe repo.
<profile>
          <id>adobe-public</id>
          <activation>
                   <activeByDefault>true</activeByDefault>
          </activation>
          <repositories>
               <repository>
                  <id>adobe</id>
                  <name>Nexus Proxy Repository</name>
                  <url>http://repo.adobe.com/nexus/content/groups/public/</url>
                  <layout>default</layout>
             </repository>
          </repositories>
          <pluginRepositories>
                   <pluginRepository>
                          <id>adobe</id>
                          <name>Nexus Proxy Repository</name>
                          <url>http://repo.adobe.com/nexus/content/groups/public/</url>
                          <layout>default</layout>
                   </pluginRepository>
          </pluginRepositories>
</profile>
Step 1: Then go to your folder where you want to create your project (e.g. D:\Rashid\AEM\) and open command prompt cmd and run the following command.
mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeGroupId=com.adobe.granite.archetypes -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=11 -DarchetypeCatalog=https://repo.adobe.com/nexus/content/groups/public/ -DgroupId=myproject -DartifactId=myproject -Dversion=1.0-SNAPSHOT -Dpackage=com.aem.community -DappsFolderName=myproject -DartifactName="myproject" -DappsFolderName=myproject -DartifactName=myproject -DpackageGroup=myproject -DcontentFolderName="ui.content" -DsiteName="MyProject Site" -DcomponentGroupName="MyProject Components" -DcssId=myproject
Step 2: The above command will execute for a moment and then it will ask for parameter confirmation.


Confirm properties configuration:
groupId: myproject
artifactId: myproject
version: 1.0-SNAPSHOT
package: com.aem.community
appsFolderName: myproject
artifactName: myproject
componentGroupName: MyProject Components
contentFolderName: ui.content
cssId: myproject
packageGroup: myproject
siteName: MyProject Site
Y: :
Step 3: Confirm your parameters, type "Y" and hit enter. After that, your project is setup and available in your directory.

ClientLibs debugger [?debugClientLibs=true] in AEM

ClientLibs debugger [?debugClientLibs=true] in AEM


Today in this tutorial we are going to discuss how and what we can achieve this using debugClientLibs parameter in AEM.

What is debugClientLibs? What is the use of debugClientLibs?

AEM provides tools for debugging and debugClinetLibs is one of them. Using this we can see all the embedded client library files. By default, client libraries embed all your code in a single file when it is delivered to the browser. So when you want to see all the embedded files in separate at runtime append "?debugClinetLibs=true" in URL (this is something like passing a parameter with url). Then you will see the response return all of the individual script files that ClientLibs embed inside each clientLibs file.


e.g. URL: https://localhost:4502/content/jorvee/home.html?debugClientLibs=true

Benefits of using debugClientLibs:
  • You can detach your embedded script at runtime.
  • Helps you to identify and fix the JS/CSS issues.



Reference: 


  

WOH JO HUM MEIN TUM MEIN QARAAR THA by Momin Khan Momin

WOH JO HUM MEIN TUM MEIN QARAAR THA

Lyrics: Momin Khan Momin

WOH JO HUM MEIN TUM MEIN QARAAR THA, TUMHE YAAD HO KE NAA YAAD HO
WOHI YAANI WAADA NIBAAH KAA, TUMHE YAAD HO KE NAA YAAD HO

WOH JO LUTF MUJH PE THE BESHTAR, WOK KARAM KE THA MERE HAAL PAR
MUJHE SAB HAI YAAD ZARAA ZARAA, TUMHE YAAD HO KE NAA YAAD HO

WOH NAYE GILE, WOH SHIKAAYATEI, WOH MAZE MAZE KI HIQAAYATEI
WOH HAR EK BAAT PAR ROOTHNAA, TUMHE YAAD HO KE NAA YAAD HO

KABHI HUM MEIN TUM MEIN BHI CHAH THI, KABHI HUM SE TUM SE BHI RAAH THI
KABHI HUM BHI TUM SE THE ASHANA, TUMHEI YAAD HO KE NAA YAAD HO

JISE AAP KEHATE THE BAAWAFAA, JISE AAP GINATE THE ASHANA

MAIN WAHI HUU ‘MOMIN-E-MUBATALA’, TUMHEI YAAD HO KE NAA YAAD HO