Skip to content

SAP Document Management Service Plugin Documentation #1034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jun 20, 2024
Binary file added plugins/assets/index/sdm-table.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions plugins/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,32 @@ Available for:
[![Node.js logo](../assets/logos/nodejs.svg){style="height:2.5em; display:inline; margin:0 0.2em;"}](https://github.com/cap-js/cap-operator-plugin#readme)
![Java logo](../assets/logos/java.svg){style="height:3em; display:inline; margin:0 0.2em;"}



## SAP Document Management Service {#@cap-js/sdm}

@cap-js/sdm lets you easily store attachments (documents) in an [SAP Document Management service Repository](https://help.sap.com/docs/document-management-service).

To use this CAP-level integration, extend a domain model by using the predefined aspect called Attachments:

```cds
extend my.Incidents with {
attachments: Composition of many Attachments
}
```

![Screenshot showing the Attachments Table in a Fiori app](assets/index/sdm-table.png)

Features:

- A predefined type called `Attachment` for use in entity definitions.
- Automatic handling of all upload, download, delete and rename operations.
- Automatically scans for viruses before storing files.

Available for:

[![Node.js logo](../assets/logos/nodejs.svg){style="height:2.5em; display:inline; margin:0 0.2em;"}](https://github.com/cap-js/sdm/#readme)

<div id="internal-plugins" />

<div id="upcoming-plugins" />
Expand Down