on 2018 May 21 6:13 AM
Can we create own atomic type. If yes then how and when we require to create own atomic type?
Request clarification before answering.
Hi Nikhil,
You can do it by first implementing your desired type in your extension then declare the new type in yourcustomextension-items.xml:
<atomictypes>
<atomictype class="myextension.somepackage.CustomAtomicType"
extends="java.jang.Object" autocreate="true" />
</atomictypes>
More information about structure of items.xml: https://help.hybris.com/6.6.0/hcd/8bff7a568669101488a5e40cb7bbd0b9.html
System update with “Localize types” option might be required. You can check in the backoffice if the type was added successfully: Backofice->System->Types->Search for your custom type.
Additional customization might be necessary.
Hope this helps and Best Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I recommend submitting a new question. Feel free to take our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html. With these tips you'll be able to prepare questions that draw responses from our members.
I think this link can help you..https://wiki.hybris.com/display/release5/items.xml+Element+Reference#items.xmlElementReference-type_...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 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.