on ‎2018 Oct 01 2:08 PM
Hi,
I need to create an items.xml file in my new storefornt.I have created xml and XSD file for tha. But the Models are not created for the new types that I have created in items.xml. Please Let me know where I need to change so that it will create my models
Request clarification before answering.
Extensions generated from the yacceleratorstorefront template are not coremodule extensions so don't have an items.xml file.
Compare the extensioninfo.xml file for your storefront extension and another e.g. your xxxcore or xxxfacades extension, or even just something like commerceservices.
Notice that there is a <coremodule> tag in the ones that have items.xml files but not in your storefront extension which only has a <webmodule> tag to indicate that it is just a web context.
e.g.
<coremodule generated="true" manager="de.hybris.platform.commerceservices.jalo.CommerceServicesManager" packageroot="de.hybris.platform.commerceservices"/>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should not create an items.xml in an extension created using yacceleratorstorefront as a template. You should use an extension created using yacceleratorstorefront for web related things. Please go through https://help.hybris.com/1808/hcd/8afb4cf986691014b339d7981bf96587.html to understand it thoroughly. Please search xs:element name="coremodule" and xs:element name="webmodule" in the extensioninfo.xsd and understand the purpose of webmodule and coremodule. You should put your item types in the items.xml of an extension having coremodule.
You can also go to https://help.hybris.com/1808/hcd/8bc0c14886691014a0d4f274a720596f.html and type 'yaccelerator' in the 'Search the entire table' box and it will highlight all the extensions/templates starting with 'yaccelerator'. There you can understand the purpose of each of the extension/template further.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arvind, I have created an extension with yacceleratorstorefront as a template which will not have an items.xml file
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 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.