Hello,
Is it possible to include json response(fields with labels and granite ui types) in touch ui dialog using /granite/ui/components/foundation/include?
In Extjs, using xtype=cqinclude with property path="/libs/foundation/components/form/defaults/items.infinity.json", the fields present under the node "items" are included in the component dialog. I tried similar approach using granite type(sling:resourceType) /granite/ui/components/foundation/include and property path="/libs/foundation/components/form/defaults/graniteitems.infinity.json". Node "graniteitems" has been added under which granite ui types are present. The JSON response returned contains fields of granite type, but is not working.
What must be the value for property resourceType?
Any inputs on this would be highly appreciated.
Thanks in advance.
Dialog structure:
<fields
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/include"
path="/libs/foundation/components/form/defaults/graniteitems.infinity.json"
resourceType="" />