acs-aem-commons icon indicating copy to clipboard operation
acs-aem-commons copied to clipboard

ACS Data importer issue

Open jpoduru opened this issue 3 years ago • 4 comments

Required Information

  • [x] AEM as cloud version 2022.3.6698.20220318T233218Z
  • [x] ACS AEM Commons Version: 4.7.2
  • [x] Reproducible on Latest? yes

Expected Behavior

Uploading the local assets to AEM cloud environment using ACS commons Data importer

Actual Behavior

Not able to upload the assets and meta data using the data importer tool

Steps to Reproduce

Assetupload.xlsx

Starting from a vanilla instance of AEM at the above version, describe in explicit steps how to reproduce. Link to any supporting assets, e.g. content packages, below

Links

  1. Tried preparing the xlsx sheet using as attached to the ticket
  2. upload to Data importer tool
  3. getting the unspported error.

Is it possible to send the sample xlxs sheet that works fine Links to related assets, e.g. content packages containing test components

jpoduru avatar May 06 '22 07:05 jpoduru

@jpoduru Hi - this tool is no recommended/supported for AEM CS. If you want to bulk import Assets to AEM CS, you need to use the AEM CS Bulk Importer Tool [1], CTT (from AEM 6.x), or write your own app/script that used the aem-upload module.

You should not be streaming binary data through the AEM CS JVM, period (in OR out).

Please look at a different, supported method for achieving this.

[1] https://experienceleague.adobe.com/docs/experience-manager-learn/cloud-service/migration/bulk-import.html?lang=en#:~:text=The%20Bulk%20Import%20tool%20in,a%20safe%20and%20efficient%20manner.

davidjgonzalez avatar May 06 '22 15:05 davidjgonzalez

@jpoduru actually, can you confirm youre uploading actual Assets files using MCP? Or are you just trying to upload asset METADATA? (the properties on existing assets?) The latter should still work. The former (moving binary data into AEM CS) is not supported.

davidjgonzalez avatar May 06 '22 15:05 davidjgonzalez

@davidjgonzalez, We are trying to do the upload the asset metadata. But still it is not working. Can you please provide the sample xls sheet for the same

jpoduru avatar May 08 '22 04:05 jpoduru

Please use the ACS MCP Data Importer to upload asset metadata. Follow the pattern in the sample spreadsheet: asset-metadata.xlsx

YegorKozlov avatar May 08 '22 12:05 YegorKozlov

Is it possible to create pages with the Data Importer? If so, can anyone provide an example xlsx file. I was able to create Content Fragments using the example. I just don't know how to map the fields such as Title. Also, how to specify the Template? I tried with the file below: Thanks. DataImporter.xlsx

marcelomg avatar Jan 05 '23 19:01 marcelomg