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

Component without dialog but draggable

Avatar

Avatar
Validate 10
Level 3
gargsahil099
Level 3

Likes

13 likes

Total Posts

57 posts

Correct Reply

4 solutions
Top badges earned
Validate 10
Validate 1
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 10
Level 3
gargsahil099
Level 3

Likes

13 likes

Total Posts

57 posts

Correct Reply

4 solutions
Top badges earned
Validate 10
Validate 1
Ignite 3
Ignite 1
Give Back 5
View profile
gargsahil099
Level 3

08-02-2018

Hi All,

We have a requirement where we need to create a component which should be drag gable but not be author able can some one please suggest how to achieve that as without dialog we will not able to drag the component on page and if there is dialog content author able to   click on edit button which will open the dialog for that.

Please suggest.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 1
Level 1
_MV
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile

Avatar
Boost 1
Level 1
_MV
Level 1

Like

1 like

Total Posts

7 posts

Correct Reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile
_MV
Level 1

08-02-2018

You can use cq:EditConfig. cq:EditConfig edits properties of the component and enables the component to appear in the Components browser or Sidekick even if we don't have dialog.

Answers (2)

Answers (2)

Avatar

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

183 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

183 likes

Total Posts

234 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
MVP

08-02-2018

Hi,

cq:dialog will be used to show the dialog and cq:editConfig will be used to display the component on left rail and dragging to parsys. Create a component without cq:dialog if edit option is not required.

Option 2: If you just have cq:dialog without any node under it, click of edit wont open the dialog.

Hope this helps

Avatar

Avatar
Validate 10
Level 3
RashidJorvee
Level 3

Likes

28 likes

Total Posts

54 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 3
RashidJorvee
Level 3

Likes

28 likes

Total Posts

54 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
RashidJorvee
Level 3

23-01-2020

You may create a node with name "cq:dialog" of type jcr:primaryType="nt:unstructured" and it will make your component drag able. Author can only drop this component to page, since there is no dialog item it will not open dialog box for authoring.