Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Is there a way to open old experience league file for reference I want to upload from excel and that should create a node in aem jcr

Avatar

Level 1

 

Is there a way to open old experience league file for reference

 

Or someone can help me to get the code for reference from the below link I want to upload from excel and that should create a node in aem jcr

 

https://helpx.adobe.com/experience-manager/using/creating-custom-excel-service-experience.html

1 Accepted Solution

Avatar

Correct answer by
Level 6

Hi @leojohnbosco, came across this post which is very well written which should help you achieve your usecase - http://aem-java-programming.blogspot.com/2016/09/create-nodes-by-taking-reference-from.html

 

Here the file path is from local machine, but you can upload your excel file to AEM DAM and pass the file path as a query parameter.

Hope this helps!

Jineet

View solution in original post

3 Replies

Avatar

Correct answer by
Level 6

Hi @leojohnbosco, came across this post which is very well written which should help you achieve your usecase - http://aem-java-programming.blogspot.com/2016/09/create-nodes-by-taking-reference-from.html

 

Here the file path is from local machine, but you can upload your excel file to AEM DAM and pass the file path as a query parameter.

Hope this helps!

Jineet

Avatar

Level 1

Thank you for the help.

 

I am getting this error while replicating the code mentioned in the link.

POST /bin/upfile HTTP/1.1] org.apache.sling.servlets.post.impl.operations.ModifyOperation Unable to create resource named upfile in /bin
15.10.2022 15:50:53.918 *ERROR* [0:0:0:0:0:0:0:1 [1665829253917] POST /bin/upfile HTTP/1.1] org.apache.sling.servlets.post.impl.operations.ModifyOperation Exception during response processing.
org.apache.sling.api.resource.PersistenceException: Unable to create node at /bin/upfile
 
Any help on this would be highly appreciated