Adobe-Consulting-Services / acs-aem-commons

http://adobe-consulting-services.github.io/acs-aem-commons/
Apache License 2.0
455 stars 603 forks source link

ACS Data importer issue #2838

Open jpoduru opened 2 years ago

jpoduru commented 2 years ago

Required Information

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

davidjgonzalez commented 2 years ago

@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 commented 2 years ago

@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.

jpoduru commented 2 years ago

@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

YegorKozlov commented 2 years ago

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

marcelomg commented 1 year ago

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