Add Policy to the custom components

Avatar

Avatar
Validate 1
Level 2
tirthtimaniya
Level 2

Likes

4 likes

Total Posts

22 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 1
Level 2
tirthtimaniya
Level 2

Likes

4 likes

Total Posts

22 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
tirthtimaniya
Level 2

01-03-2019

Hello All,

I have created one custom component and allow that component in my editable template.

But now I am not able to see policy options for my custom component.

In my custom component I have created cq:dialog and cq:editConfig and one HTML file

should I need to make any configuration or anything?

please help me with this

Thank you 🙂

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile
Gaurav-Behl
MVP

02-03-2019

If you're talking about the 'settings/policy' icon, then you'd need to add cq:design_dialog node. Otherwise extend your component from one of core components that already has the policy and thereafter you can customize it following the link shared by Arun above.

1702926_pastedImage_0.png

Answers (6)

Answers (6)

Avatar

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile

Avatar
Boost 250
MVP
Gaurav-Behl
MVP

Likes

250 likes

Total Posts

1,147 posts

Correct reply

283 solutions
Top badges earned
Boost 250
Establish
Give back 300
Give Back 50
Give Back 5
View profile
Gaurav-Behl
MVP

04-03-2019

yes, check the core components for reference.

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,441 likes

Total Posts

3,312 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,441 likes

Total Posts

3,312 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

01-03-2019

Hi,

Please check component level policy at below:

AEM Developer Learning : Dynamic (Editable) Templates in AEM 6.3 : Part-1

Avatar

Avatar
Level 1
sumanthbonda
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
sumanthbonda
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
sumanthbonda
Level 1

29-02-2020

Please create design dialog for that component then you have see the policy option for that component in editable template 

Avatar

Avatar
Validate 1
Level 2
tirthtimaniya
Level 2

Likes

4 likes

Total Posts

22 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 1
Level 2
tirthtimaniya
Level 2

Likes

4 likes

Total Posts

22 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
tirthtimaniya
Level 2

04-03-2019

Thank you so much.

But still we have to use core components 😞

Avatar

Avatar
Validate 1
Level 2
tirthtimaniya
Level 2

Likes

4 likes

Total Posts

22 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Validate 1
Level 2
tirthtimaniya
Level 2

Likes

4 likes

Total Posts

22 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
tirthtimaniya
Level 2

03-03-2019

gauravb10066713smacdonald2008

Thank you so much it worked for me.

If I am editing its policy and take an image component as my core components but it is showing me the policy screen of image component

so my question is can we build our own policy page and our own fields for our custom components?

Thank you.

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 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,409 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

03-03-2019

Great responses!