SAP Commerce Cloud Backoffice Development
Backoffice development is based on ZK framework has their own advantages, i.e. quite easy customisation if we introduce new or extending types, tree navigation and search. That is mostly based on XML configuration.
SAP Help have scattered information how to add backoffice feature to your extension, but still it is possible base on that chaotic articles find most of the answers:
- how to make extension backoffice-one (Backoffice FAQ)
- backoffice xml configuration overview (UI Configuration Overview)
- extending existing Item configuration by merging with new one (UI Configuration Merging Mechanism)
Recently I have added functionality to keep task logs in external storage, as these logs can consume for some customers like tens of GBs of DB storage, which are mostly "store & forget" items.
So.. I have extended Item type for that:
Then I have created my <ext>-backoffice-config.xml where I have added where I would like to add my attribute to be placed.
That configuration will be added by merge mechanism to existing configuration, so there is no need to worry about rest fields.
Then, like for all Type System changes, it is required to run:
ant updatesystem
Unfortunately that is not all what we need to do, because our changes are not visible in backoffice after required ant all stuff.
Editor Area includes only standard taskLogs but not mine externalLogs which is in backoffice configuration. To make it available, it is required to rebuild backoffice configuration. There are 2 options.
Manual Backoffice Configuration Refresh
To do that you need to follow manual steps:
- login to your backoffice
- Press F4
- Click on hamburger menu in top-right corner
- Reset to Defaults
- Press F4
Automatic Development-friendly Configuration
When we are talking about development, it is crucial, that our configuration is updated whenever we do the change. Please find my configuration below.
Comments