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

Sling Framework Part – 2 | AEM Community Blog Seeding

kautuk_sahni
Community Manager
Community Manager

BlogImage.jpg

Sling Framework Part – 2 by Techinnovia

Abstract

Sling Post Servlet, Resource Resolver, Service Users
Welcome to the second part of the Sling Framework.

After completing this part, you should be able to

Describe the purpose of Sling Post Servlet and How it works.
Work with Sling Resource Resolver.
Understand the concept of service users.
Understand context-aware configurations.
Sling POST Servlet

Sling POST Servlet is one of the key features of Sling.
It handles all POST operations to Sling instance by default.
This servlet provides possibility to create, modify, copy-move, delete to invoke resources.
It can be extended with additional POST operations and PostProcessor.
The Servlet can be called with a standard form submission as you can see on this eg.
The action property is a node path in the repository, this node will be modified during Sling Servlet POST execution.
The name property in parameter contains, a node property which will be modified, and value property – defines a new value for the node’s property.

After this form submission “title”- property will be set on a node “/content/page”.

Read Full Blog

Sling Framework Part – 2

Q&A

Please use this thread to ask the related questions.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies