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

How to include a config dialog in page in touch UI edit mode

Avatar

Avatar
Validate 1
Level 2
ashishkhadpe
Level 2

Likes

4 likes

Total Posts

48 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
ashishkhadpe
Level 2

Likes

4 likes

Total Posts

48 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Boost 3
Boost 1
View profile
ashishkhadpe
Level 2

04-09-2020

Hi All,

 

In classic UI implementation we have below JS code which is including a config dialog on a page.

 <script type="text/javascript" id="cq-gen73">
            CQ.WCM
                    .edit({
                        "path" : "<content_path>",
                        "dialog" : "<dialog_path>",
                        "type" : "",
                        "csp" : "",
                        "editConfig" : {
                            "listeners" : {
                                "afteredit" : "REFRESH_PAGE"
                            },
                        }
                    });

    	</script>

 

After migrating to touch UI, the above config dialog is not author-able. Can someone suggest, touch UI implementation of the above code to include dialog on page.