Message Boards
Change name attribute of structure root xml with name of field reference.
Abraham John, modified 2 Years ago.
Change name attribute of structure root xml with name of field reference.
New Member Posts: 2 Join Date: 7/9/21 Recent PostsI 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.