{"ref":"content:useful-cap-cds-and-fiori-commands-to-accelerate-development-and-deployment","page":"/content/useful-cap-cds-and-fiori-commands-to-accelerate-development-and-deployment","json":"/content/useful-cap-cds-and-fiori-commands-to-accelerate-development-and-deployment.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"useful-cap-cds-and-fiori-commands-to-accelerate-development-and-deployment","title":"Useful CAP CDS and Fiori Commands to Accelerate Development and Deployment","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/useful-cap-cds-and-fiori-commands-to-accelerate-development-and-deployment/ba-p/13549430","content_type":"blog","published_on":"source:sap-community","explains":[{"ref":"capability:authorization","applies_to":{"ecosystems":["btp","cap"]}},{"ref":"capability:database-connectors","applies_to":{"ecosystems":["btp","cap"]}},{"ref":"capability:generators","applies_to":{"ecosystems":["cap","ui5"]}},{"ref":"capability:destinations","applies_to":{"ecosystems":["btp","cap"]}}],"summary":"A command-by-command walkthrough of `@sap/cds-dk`'s `cds add` and `fiori add` generators: `cds add xsuaa` writes an XSUAA security configuration from the CDS model's authorization annotations, and `cds add hana` together with `cds deploy --to hana` switches persistence from the default SQLite database to [SAP HANA Cloud](artifact:btp-hana-cloud). `cds add mta` and `fiori add deploy-config`, from [@sap/generator-fiori](artifact:sap-generator-fiori), build the [Cloud Foundry](artifact:btp-cloud-foundry-runtime) deployment descriptor together, adding a destination-service block and an `xs-app.json` that routes the Fiori app's calls through a named destination.","short":"Walkthrough of the cds add and fiori add generators","author":"TiaXu","published":"2022-10-19","against":[{"ref":"ecosystem:cap","version":"6"}],"provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-09-28"},"drafted_with_ai":true,"history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:authorization (cap, btp); capability:database-connectors (cap, btp); capability:generators (cap, ui5); capability:destinations (cap, btp)","reason":"Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md)."}]},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"poor","evidence":"published 48 months ago"}],"compatibility":[{"label":"Version","tier":"poor","evidence":"cds 6, line ended"},{"label":"Moved since?","tier":"poor","evidence":"CAP Java 3.7.1, 2025-01 and 6 more"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":14481,"unit":"views"},{"value":4,"unit":"comments"},{"value":17,"unit":"likes"}]},"signals":{"views":14481,"likes":17,"comments":4,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[]}}