From 296d2bdbaba99d34ce62a8483b5d8d4f90761379 Mon Sep 17 00:00:00 2001 From: AhmedEldeeb50 Date: Wed, 15 Jul 2020 21:58:59 +0200 Subject: support XML for "Upload Attributes List" button for mapping Issue-ID: CCSDK-2571 Signed-off-by: AhmedEldeeb50 Change-Id: I4164fdef145e92faa2cf2550a036d50273127c6a --- .../templ-mapp-creation.component.html | 4 +-- .../templ-mapp-creation.component.ts | 26 ++++++++++++----- .../template-mapping/utils/Parser.spec.ts | 28 ++++++++++++++++++ .../template-mapping/utils/Parser.ts | 3 ++ .../template-mapping/utils/XmlParser.ts | 34 ++++++++++++++++++++++ 5 files changed, 85 insertions(+), 10 deletions(-) create mode 100644 cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/utils/Parser.spec.ts create mode 100644 cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/utils/Parser.ts create mode 100644 cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/utils/XmlParser.ts (limited to 'cds-ui/designer-client/src') diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.html index f517cb108..65845a6cc 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.html +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.html @@ -102,12 +102,12 @@
Use Current Template Instance -
Upload Attributes List
-
(Should be comma delimited file)
+
CSV or XML files