Solved
How to store multifield data in JCR properties not in JCR node
Below is the structure of my multifield dialog in template page component. once I author this mutlified in page properties, I want data to be stored in page jcr:content properties rather than in JCR node.
Usually it is being stored like this in node type
Instead above I wanted to store styleLevel3And4 inside jcr:content as a property value like below.
How I can achieve that, thank you.
<style_3and4
jcr:primaryType="nt:unstructured"
jcr:title="Style for levels 3 & 4"
sling:resourceType="granite/ui/components/coral/foundation/form/fieldset"
title="Style for levels 3 & 4">
<items jcr:primaryType="nt:unstructured">
<style_few_items
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/multifield"
cq-msm-lockable="styleLevel3And4"
fieldLabel="Style configuration(⚠ Editing is only possible in Blueprint and Standalone)">
<field
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container"
name="./styleLevel3And4">
<items jcr:primaryType="nt:unstructured">
<column
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<path_page_level_2
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/pathbrowser"
fieldLabel="Path to page on level 2"
name="./pathPageLevel2"
rootPath="/content"/>
</items>
</column>
</items>
</field>
</style_few_items>
</items>
</style_3and4>