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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

ashishkhadpe
Level 3
Level 3

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. 

0 Replies