This is getting started sample to levarage the "Custom Service" feature in SAP Sales and Service cloud and explains basics of this feature.
Custom Service is the service that is implemented,developed and deployed outside SAP Sales and Service Cloud(SSCV2), but its metadata like entity, event structure is published in/imported to metadata repository in SSCV2. This is very important feature for side-by-side extensibility. This service can participate in the SSCV2 processes seamlessly, like:
- To allow the various built-in capabilities and features of SSCV2 like autoflow, timeline, search and analytics.
- To have custom workspace with generated custom UIs like List view, Detail view, Quick view, Quick create and Object Value Selector.
- Service : Rest Service developed and deployed using any technology/framework outside SSCV2.
- Metadata: Service metadata to be uploaded in SSCV2.
- Admin access to SSCV2 to access and create Custom Service via admin settings.
SSCV2 expects service API and metadata should follow particular guidelines. To know more about metadata and API guidelines please check guideline section .
- Deploy Service-
This sample provides CAP service having one entity with few attributes. Download the soure code and deploy in BTP Cloud Foundry by following steps mentioned here - Metadata-
Download the metadata of this service which needs to be uploaded to SSCV2 in next step. - Create Custom Services in SSCV2 and view the generated UIs-
Admin user needs to create "Custom Services" in SSCV2 by following steps mentioned here.
This sample gives idea on custom services. But there are other key features as well like:
It contains these folders and files, following CAP recommended project layout:
File or Folder | Purpose |
---|---|
app/ |
content for UI frontends goes here |
db/ |
your domain models and data go here |
srv/ |
your service models and code go here |
package.json |
project metadata and configuration |
readme.md |
this getting started guide |
Learn more at https://cap.cloud.sap/docs/get-started/