Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

in crx/de, create component, create template and create dialog are missing.

TB3dock
Level 7
Level 7

According to the tutorials, in the local author instance, in crx/de, if I navigate to /apps/wknd/components I should be able to create new components by right clicking. I can create folders or nodes, but thats it.  The other options have always been missing.  I am logged in as admin/admin, and I deployed wknd using mvn clean install -PautoInstallSinglePackage.  I have also tried creating a folder under /apps/wknd/components and creating under that, but same problem.

 

TB3dock_0-1617180725510.png

 

Any ideas?

 

Im using the latest could SDK downloaded from Adobe yesterday, and M1 Mac.

1 Accepted Solution
asutosh_jena
Correct answer by
Community Advisor
Community Advisor

Hi @TB3dock 

You are correct. Those options are now not avilable for any of the folders. You will need to create the component either on the IDE, build and deploy the package to get the component on CRX/DE or you can right click on the folder and select it as "Create Node" by providing the type as cq:Component which will create the component node. This will allow you to create component in CRX/DE and then can be imported into FS using VLT or any other plugin.

 

asutosh_j3_0-1617181599117.png

 

Hope this helps!

Thanks!

View solution in original post

7 Replies
asutosh_jena
Correct answer by
Community Advisor
Community Advisor

Hi @TB3dock 

You are correct. Those options are now not avilable for any of the folders. You will need to create the component either on the IDE, build and deploy the package to get the component on CRX/DE or you can right click on the folder and select it as "Create Node" by providing the type as cq:Component which will create the component node. This will allow you to create component in CRX/DE and then can be imported into FS using VLT or any other plugin.

 

asutosh_j3_0-1617181599117.png

 

Hope this helps!

Thanks!

View solution in original post

TB3dock
Level 7
Level 7

thanks for the info. Pretty much all tutorials use the "create component" route. I have not found one which details how to crate a component via IDE, e.g. which files to create, and what they should contain, what the structure should be etc.  I guess I could install an old version of AEM, create the component, then copy the contents to the new AEM.

TB3dock
Level 7
Level 7

Its also worth noting that I want to create them in the IDE in the git code, as creating them directly in AEM means none of the other devs can access the new component.  However, there seem to be no instructions or tutorials to do this.

TB3dock
Level 7
Level 7
Sadly, create node doesnt do the same thing as Create Component, i.e. it doesn't create the necessary files and structure so the tutorials are rendered useless.
shivangi_agrawal
Level 2
Level 2

Hi @TB3dock ,

 

As mentioned by @asutosh_jena  the option to create components directly in crx/de is available via Create Node option. But if you want to directly integrate your IDE with crx/de than you can use Vault Configuration in IntellijIdea or Eclipse whichever you are using. These are basically plug-ins which integrates your IDE directly with crx and you dont have to worry about moving content from one place to another.

TB3dock
Level 7
Level 7
Unforutnatley, the create node option only create a node, not the other files and structure which the tutorials dont detail. I cant find what files/structure is needed for a component.
asutosh_jena
Community Advisor
Community Advisor

@TB3dock You can refer other components and decide what file/node to keep under your component.
The Create Component option was just creating the component and was adding the HTL/JSP file. Rest all was added by individual developer and the same needs to be followed here.

 

Thanks!