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:

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

Popular posts from this blog

SAP Commerce Cloud and Read-Only Replica

Eclipse plugin development and Apple Silicon M1

FlexibleSearch Pagination