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

dilip_mallya
dilip_mallya
Offline

Badges

Badges
3

Accepted Solutions

Accepted Solutions
0

Likes

Likes
0

Posts

Posts
3

Discussions

Discussions
0

Questions

Questions
3

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by dilip_mallya
Customize the badges you want to showcase on your profile
Re: Copy node from one crx to another using sling [ Rest]
Avatar
Give Back
Level 1
dilip_mallya
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
View profile
dilip_mallya
- Adobe Experience Manager
Hi Kunal, I am getting following exception . title : Error while processing /library/17/01/170108 Message : javax.jcr.nodetype.ConstraintViolationException: No child node definition for 170108 found in node /library/17/01although i am sending the node [170108] details in the request body {"attribute1":"value1","attribute2":"value2","jcr:primaryType":"library:customNodeType"} with content type as > application/json;charset=UTF-8 We have created a sprint boot project and configured some spring bat...

Views

203

Likes

0

Replies

0
Re: Copy node from one crx to another using sling [ Rest]
Avatar
Give Back
Level 1
dilip_mallya
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
View profile
dilip_mallya
- Adobe Experience Manager
Thank you so much for replying . I did go through the sling cheat sheet but couldn't succeed. If i try to pass in the request parameters in the url ,it works , for exTo create the path rest url [GET] : http://:/crx/library/17/01??jcr:primaryType=nt:folderTo crate a node with custom node type under 17/01 with attributes 1 and 2 [POST]: http://:/crx/library17/01/170108?jcr:primaryType=library:customNodeType&attribute1=value1&attribute2=value2 But if try to pass in the details in the request body i...

Views

202

Likes

0

Replies

0
Copy node from one crx to another using sling [ Rest]
Avatar
Give Back
Level 1
dilip_mallya
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
View profile
dilip_mallya
- Adobe Experience Manager
Hi , We have a requirement to copy node(s) which matches a given criteria from source CRX to target. For this we used JCR api exportSystemView and importXML and its working fine . We are now trying to achieve the same thing using sling . Here is what we tried Get the json contents of the node [ http://:/crx/library/17/01/170101.0.json ] > worked Use the source json in the request body and post it to target crx [ http://:/crx/library/17/01/170101] where path 17/01/ is not there nor is the node 17...

Views

1.0K

Likes

0

Replies

6