Expand my Community achievements bar.

SOLVED

How to add sling pipes in the project

Avatar

Level 1

Hi AEM Community,

 

II'm looking for insights on adding Sling Pipes in the project using pom.xml in AEM Cloud.

 

Added below dependencies in all/pom.xml,  tenant/pom.xml and root/pom.xml

<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.pipes</artifactId>
<version>4.5.0</version>
</dependency>
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.query</artifactId>
<version>4.0.4</version>
</dependency>

Added below com.adobe.dx in tentant.pom and root.pom

 

<dependency>
<groupId>com.adobe.dx</groupId>
<artifactId>content</artifactId>
<version>0.0.10</version>
</dependency>

 

Installed script by manually downloading(since not downloading via pom) adobe-dx/apps/scripts/pipe and executing mvn clean install.

Getting forbidden when accessing http://localhost:4502/apps/dx/scripts/exec.json/ .

 

Please share your strategies and experiences in this area!

 

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

 

The "forbidden" access error when trying to access http://localhost:4502/apps/dx/scripts/exec.json/ typically suggests a permissions issue.
- Also, If the script is not downloading via pom.xml, it might be due to the package not being available in the configured Maven repositories.

View solution in original post

3 Replies

Avatar

Community Advisor

Hi @VenkateshKA6 

Since you are accessing Author instance, You need to login 

Sling pipes : check https://sling.apache.org/documentation/bundles/sling-pipes.html 

for sling query check - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-sling-query-comprehens... 

 

You may need to install Sling pipes and sling query bundle in AEM as well.

 



Arun Patidar

Avatar

Correct answer by
Employee Advisor

Hi,

 

The "forbidden" access error when trying to access http://localhost:4502/apps/dx/scripts/exec.json/ typically suggests a permissions issue.
- Also, If the script is not downloading via pom.xml, it might be due to the package not being available in the configured Maven repositories.

Avatar

Administrator

@VenkateshKA6 Did you find the suggestions helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!



Kautuk Sahni