Skip to Content
Jul 27, 2020 at 09:13 PM

custom services with config.xml


We use successfully several commerce provided beans to help configure our backoffice configuration inside mybackoffice-backoffice-config.xml including the following:

<wz:assignproperty="newProduct.catalogVersion"value="@catalogVersionService.getCatalogVersion('myProductCatalog', 'Staged')"/>




All the above work great and help us set default values when customizing create-wizards. However, we would like to be able to use our own custom services for similar needs. For example:


However, even if we define myCustomService as a bean inside mybackoffice-spring.xml or mybackoffice-backoffice-spring.xml it seems this is not available to the Spring context used by backoffice when processing mybackoffice-backoffice-config.xml.

Are there special configuration steps necessary to allow a custom bean/service to be accessible by config.xml? I could not find any special setup for the above OOTB beans that are working fine.