Hello everyone,
I would like to know if it is possible to set a default value for a specific attribute when you declare an item in the *core-items.xml. In particular, I need to specify a default string value. I see that I can do that for primitive types, but I can't find any answer for no primitive types. I tried to write it in the following way as specified here https://stackoverflow.com/questions/63314600/how-to-set-default-value-for-a-map-attribute-of-an-item-in-items-xml-hybris:
<attribute generate="true" autocreate="true" qualifier="robotsDescription" type="localized:java.lang.String">
<persistence type="property"/>
<modifiers read="true" write="true" search="true" initial="true" optional="true"/>
<defaultvalue>"noindex,nofollow"</defaultvalue>
<description>Descrizione Robots per indicizzazione pagina prodotto</description>
</attribute>
It seems that the default value declaration does not work since I can't see any values in the backoffice. I'm using SAP Hybris 6.5 version.
Thanks all for any kind of support