Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Change name attribute of structure root xml with name of field reference.
I have created this structure and give Field reference value as "myText" like below picture.
On accessing the root xml of structure, name attribute value of
dynamic-element is a default text value. Like shown below.
<root available-locales="en_US" default-locale="en_US" version="1.0">
<dynamic-element index-type="keyword" instance-id="54vS2SGv" name="Text13156709" type="text">
<dynamic-content language-id="en_US">textValue</dynamic-content>
</dynamic-element>
</root>
How can i change name attribute to field reference text that i made while creating this structure?
I'm using Liferay CE 7.4 version.