How to create a component in the IDE now "create component" has been removed?

Avatar

Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile

Avatar
Affirm 5
Level 4
TB3dock
Level 4

Likes

37 likes

Total Posts

223 posts

Correct reply

5 solutions
Top badges earned
Affirm 5
Ignite 10
Boost 25
Give Back 25
Validate 10
View profile
TB3dock
Level 4

31-03-2021

Now Adobe have removed the "create component" "create template" and "create Dialog" menu items from crx/de, these have to be created by hand in the IDE.

 

This is fine, except 100% of the tutorials use the menu menthod, so I cant find any info on how to create the necessary files and folders by hand.

 

Looking at the hello world example, its component looks like this:

 

/ui.apps/src/main/content/jrc_root/apps/wknd/components/helloworld

   _cq_dialog

      .content.xml

   .content.xml

   helloworld.html

 

However, if we look at a different component, we see a different structure:

  button

      .content.xml

 

do the files have to be called .content.xml, or can they be named anything?

is _cq_dialog a reserved directory name, or something made up by the dev?

 

What are the required/optional files and folders?

What are the naming conventions?

Are there any other tools to create components, now the main one has been removed?

Is there any tutorial which shows how to create components, dialogs and templates by hand?

  

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Give Back
Level 1
sameerd61957887
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile

Avatar
Give Back
Level 1
sameerd61957887
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile
sameerd61957887
Level 1

31-03-2021

Hi @TB3dock ,

Can you please confirm the AEM version we are using here. I tested with latest 6.5 Service Pack 8 and I can see those options under CRX-DE.

sameerd61957887_1-1617200176517.png

 

- Sameer