on 01-10-2019 4:39 PM
How to set the value of a property marked as custom-properties using ImpEx e.g. let's say I want to set the value of hiddenForUI
to false
for the itemtype, Media
.
<attribute qualifier="internalURL" type="java.lang.String">
<custom-properties>
<property name="hiddenForUI">
<value>Boolean.TRUE</value>
</property>
</custom-properties>
<modifiers read="true" write="true" search="false" optional="true"/>
<persistence type="property">
<columntype>
<value>HYBRIS.LONG_STRING</value>
</columntype>
</persistence>
</attribute>
Hi ,
I would try something like this:
INSERT_UPDATE AttributeDescriptor; qualifier[unique = true] ; enclosingType(code); hiddenForUI ;
; internalURL ; Media ; true ;
Did try this one, but you should get the idea.
Cheers, Jacek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, . I tried it but it is throwing following error:
INSERT_UPDATE AttributeDescriptor;qualifier[unique = true];enclosingType(code);hiddenForUI
,,,,More than one item of type AttributeDescriptor found for unique qualifiers {qualifier1=internalURL};internalURL;Media;true;
...and now, I am not able to think the solution to handle this...it's Friday 🙂
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.