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

Custom Component not visible in sidekick

Avatar

Avatar
Validate 1
Level 2
Nandhini_Marimu
Level 2

Likes

5 likes

Total Posts

27 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
Nandhini_Marimu
Level 2

Likes

5 likes

Total Posts

27 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
Nandhini_Marimu
Level 2

13-10-2017

Hi,

I've created a template('mytemplate') which will call my custom component using 'sling:resourceType:/apps/myproject/components/mycomponents'. i created a page using 'mytemplate' in siteadmin. when i click on 'mypage' is opens the page. In design mode, i checked for allowed components to choose my custom component to make it available in side kick tool, but i could not able to see my custom component name. I gave 'componentGroup' -> which is the name that will appear in 'edit component'. but then too i was not able to see my custom component in edit component. i gave sling:resourceType:/foundation/component/page , then my custom component appears in edit component mode. Why is necessary to give sling:resourceType for custom component ?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 2
amitkrt
Level 2

Likes

10 likes

Total Posts

31 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Establish
Give Back 3
Give Back
Boost 5
View profile

Avatar
Validate 1
Level 2
amitkrt
Level 2

Likes

10 likes

Total Posts

31 posts

Correct Reply

4 solutions
Top badges earned
Validate 1
Establish
Give Back 3
Give Back
Boost 5
View profile
amitkrt
Level 2

13-10-2017

1. make sure you have dialog in your component

2.make sure your component name and jcr:title property value are not same

Answers (3)

Answers (3)

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

13-10-2017

Its good practice to inherit from a base component. I typically use foundation/components/parbase. Never seen an issue of a component not showing up in the Cat i define.

Avatar

Avatar
Validate 1
Level 2
Nandhini_Marimu
Level 2

Likes

5 likes

Total Posts

27 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
Nandhini_Marimu
Level 2

Likes

5 likes

Total Posts

27 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
Nandhini_Marimu
Level 2

13-10-2017

Thanks for the tutorial link. In component creation, it has sling:superResourceType as /foundation/components/parbase.If we did not use this superResourceType , the component will not appear rite ?

My doubt is even if it is custom component we need to use/inherit the existing component as base component(out of box components from /foundation /...)  for custom component ?

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,162 likes

Total Posts

6,273 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,162 likes

Total Posts

6,273 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

13-10-2017

I would request you to upload the package provided and read this article:- Creating a custom Image Text component for Experience Manager

// In this example also we have a custom component with the custom group. Follow this article and this would solve your problem.

sling:resourceType is not necessary at the component level.

~kautuk