You can change the item type of an asset to a dynamic subtype of its current item type. For instance, if you have previously created an electricalProduct dynamic subtype, you can change existing product items to electricalProduct items. The following example illustrates this:

<update-item item-descriptor="product" id="prod120021">
  <set-property name="type"><![CDATA[electricalProduct]]></set-property>
</update-item>

There are key restrictions on changing the item type of an asset:

Note, also, that you cannot change the item type of an asset and set properties of it in the same project. So, in the example above, after changing the item type to electricalProduct, you need to create a separate project to set any subtype-specific properties.


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices