Highlighted

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

Avatar

Avatar

ashishkhadpe

Avatar

ashishkhadpe

ashishkhadpe

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.