Expand my Community achievements bar.

Read property from parent node for touch ui component name for AEM6.3

Avatar

Level 8

Hi,

I have a similar issue described in http://aemconcepts.blogspot.com/2017/05/read-and-write-to-parent-node-from.html

where i can write to jcr: content from a component dialog but cannot read  the property from component dialog

my node structure is

jcr:content

+     Mainpar

+ ..  componentNode  [here the property name which reads property from  jcr node like ]

for example name = "../../jcrbasedProperty"

Works:- When submit the dialog the value in jcrbasedProperty  is getting saved in jcr:content

Problem:- The  same property is not getting retrieved when dialog is open in touch ui.

Please provide any sample code that i could use for touch ui field with

sling:resourceType="granite/ui/components/coral/foundation/form/textfield"

Thanks

10 Replies