I've created 3 new short videos to show you how to work with DMS from within your SAP Build Apps project. I've also released a demo app (both skeleton and complete versions) that lets a user navigate through DMS, create folders, upload documents, and delete documents.
Set up the destination to DMS, add it o your project, and create a data variable with the schema for most DMS API responses.
Use the HTTP Destination Request flow function to list objects in the root or any folder, and navigate the DMS tree.
Use the new flow function to upload binary files to DMS, as well as to delete files.
All of these videos are based off the amazing work by Ming Kho (@mingkho), who not only developed the new HTTP Destination Request flow function that enables binary uploads, but patiently and clearly helped me understand how to use it.
The new flow function lets you define multipart HTTP calls, especially so you can upload binary files, AND use a destination to define the connection details .
The flow function lets you have greater control over your HTTP calls while using a destination, and in a form i is easier to set. You can set:
Though in my sample app I only really needed this flow function for uploading files, I used it for all my calls. Even for the other calls it helped having the Path property.
I have provided an app that lets the user navigate the DMS tree, create folders, upload documents, and delete documents.
Besides DMS, some other things you can learn from the app are:
There are 2 version of the app:
For the complete app to work, you may need to set the destination in the HTTP Destination Request flow functions (there are 4 of them throughout the app).
The documentation for the DMS APIs are located here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 42 | |
| 21 | |
| 21 | |
| 18 | |
| 18 | |
| 18 | |
| 17 | |
| 16 | |
| 16 | |
| 15 |