Hi All,
In multiple cases, I have observed these properties being used in the article https://helpx.adobe.com/experience-manager/using/creating-cq-feed-components-display.html.
- Can you please let me know what exactly is the purpose of using it here.
- Twitter widget JavaScript code is included in the component here. So, is it some thing like Twitter/every application exposes some code , which on including, we will be able to access that particular application. Any thoughts on this will be helpful.
Solved! Go to Solution.
Purpose of xtype : cqinclude is to reuse the existing dialog elements in other dialogs.
Refer https://helpx.adobe.com/experience-manager/kb/XtypeCqInclude.html to get an idea how to use it and official documentation around this at [1]
Giving a quick look at the twitter component code, I think this doesn't have any use here but if you create any component you need to have a dialog node in the component structure( be it an empty dialog).
[1] : https://docs.adobe.com/docs/en/cq/5-6-1/developing/widgets/xtypes.html
Views
Replies
Total Likes
Purpose of xtype : cqinclude is to reuse the existing dialog elements in other dialogs.
Refer https://helpx.adobe.com/experience-manager/kb/XtypeCqInclude.html to get an idea how to use it and official documentation around this at [1]
Giving a quick look at the twitter component code, I think this doesn't have any use here but if you create any component you need to have a dialog node in the component structure( be it an empty dialog).
[1] : https://docs.adobe.com/docs/en/cq/5-6-1/developing/widgets/xtypes.html
Views
Replies
Total Likes
Also, not getting the reason as to why is a dialog required here. Dialog is probably required when the component has to be edited. But here we are just rendering the content. Why the dialog has to be included.
Any thoughts on this will be helpful.
Views
Replies
Total Likes
Hi,
Thank you for your reply.
Also, what I understood from the above is that "If you have a component, a dialog node is mandatory in the component structure"?
Views
Replies
Total Likes
askdctm wrote...
Hi,
Thank you for your reply.
Also, what I understood from the above is that "If you have a component, a dialog node is mandatory in the component structure"?
I meant was, If you have a component and you want it to be visible in the sidekick you have to have a dialog node.
Please go through the link https://docs.adobe.com/docs/en/cq/5-6-1/developing/components.html#Component definitions
Views
Replies
Total Likes
Hi,
I read somewhere that even though dialog/design_dialog is not present, just having cq:EditConfig will suffice, for the component to appear in the sidekick.
Any thoughts on this will be helpful.
Yes this is correct. If you don't want to have dialog /design dialog and still wants your component to be available in sidekick then add node cq:EditConfig in your component.
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies
Views
Likes
Replies