CAP Plugin Adobe Forms

npm package

kind
"npm"
tags
["sap", "npm"]
stack
["SAP CAP", "Node.js", "Adobe Forms", "OAuth2", "XML"]
links
GitHub, npm

Description

A reusable Node.js plugin for SAP CAP that integrates the SAP Forms by Adobe service on SAP BTP. It enables PDF generation from Adobe Forms templates directly within CAP applications, with full support for authentication, localization, and REST access.

Key Features

  • Two authentication modes: BTP Destination Service (recommended) and direct credentials
  • PDF rendering from templates with locale/language-specific selection
  • Automatic XML serialization from JavaScript objects
  • Optional Base64 encoding for JSON responses
  • OData REST endpoint at /adobe/forms
  • Form listing and schema retrieval from Adobe templates
  • Health check endpoints for connectivity verification
  • Error handling with specific error codes

Installation

npm install @salvatorela/cap-plugin-adobe-forms