Expand my Community achievements bar.

SOLVED

How do I reference a component from other apps/<myproject2>

Avatar

Level 3

Lets say we have a component called" myProjectAComponent" that is in apps/myProjectA/myProjectAComponent. now in /apps/myProjectB, how can I use this myProjectACompnent ?

 

Thank you

1 Accepted Solution

Avatar

Correct answer by
Level 10

One you define a component and place it on the CQ sidekick -- you can use that in other projects. For example -- here is a component defined at:

/apps/nook/components

You can now use this in other CQ projects via the sidekick (for example - /apps/geometrixx) as shown here:

[img]sidekick.png[/img]

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

One you define a component and place it on the CQ sidekick -- you can use that in other projects. For example -- here is a component defined at:

/apps/nook/components

You can now use this in other CQ projects via the sidekick (for example - /apps/geometrixx) as shown here:

[img]sidekick.png[/img]

Avatar

Level 10

If you are planning to extend use sling:resourceSuperType.