Expand my Community achievements bar.

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

Avatar

Level 4

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