Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Content fragment import using ACS AEM Commons package

Avatar

Level 1

Hi All,

          I want to create content fragments by using ACS AEM Common Package.https://adobe-consulting-services.github.io/acs-aem-commons/features/mcp-tools/cf-importer/index.htm... I followed this documentation but not sure how this can be acheived.

 

I have created an excel sheet with four columns as below.

sumanth3_0-1681303281920.png

I have uploaded and installed ACS AEM Commons package into my local instance

 

I have selected start process 

sumanth3_1-1681304016825.png

then i choosed content fragment import option

sumanth3_2-1681304114043.png

I have uploaded my excel file into upload fragment data and then selected start 

sumanth3_3-1681304186762.png

it is displaying as completed status but the content fragments are not created at specified path

sumanth3_4-1681304307696.png

sumanth3_5-1681304429963.png

and I checked the error logs also but in that i couldn't find any error.

Please let me know if anyone has any solution on this.

 

 

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @sumanth3 

1. Can you please make sure the excel sheet has data in the following format:

Row 1: Properties names

Remaining rows: with values

Siva_Sogalapalli_0-1681306485885.png

 

2. Also, make sure you've created content fragment models before you import the excel sheet. could be the reason, content fragment model is not present.

 

Please double check.

or First try with sample excel sheet and test content fragment model and see if that works or not.

sample spreadsheet

CF model 

 

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @sumanth3 , I have verified it seems like the tool works fine. Can you verify your excel sheet if the data field names are mapped properly or not with your cf-model field names.

Thanks,
Krishna

Avatar

Correct answer by
Community Advisor

Hi @sumanth3 

1. Can you please make sure the excel sheet has data in the following format:

Row 1: Properties names

Remaining rows: with values

Siva_Sogalapalli_0-1681306485885.png

 

2. Also, make sure you've created content fragment models before you import the excel sheet. could be the reason, content fragment model is not present.

 

Please double check.

or First try with sample excel sheet and test content fragment model and see if that works or not.

sample spreadsheet

CF model