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

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

A Simple Example of Sling Pipes in AEM | AEM Community Blog Seeding




A Simple Example of Sling Pipes in AEM by Anurag Chaudhary


With Sling Pipes it's very easy to update the AEM content. It is a tool for executing CURD operations over resources in AEM repository. Hope this will be helpful.

Plumber is OSGi service and it has newPipe method in which we need to pass resourceResolver. After that we can call several pipes or methods to achieve our objective. Some of them are-

echo(path) - to retrieve the root resource of the path.

write(config) - to write/update properties of a resource.

run() - to execute the code.

Use case: To update property of a node using Sling Pipe OSGi service.

Dependencies required-

1. Sling Query (

Maven Repository: » » 4.0.0 (

2, Sling Pipes (

Maven Repository: » » 3.1.0 (

Either install the bundle of respective dependency in console or add them in the project's pom.xml

System user -

1. Create a system user from http://localhost:4502/crx/explorer/index.jsp

2. Add the configuration in Apache sling Service User Mapper Service Amendment

Read Full Blog

A Simple Example of Sling Pipes in AEM


Please use this thread to ask the related questions.

0 Replies