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

Create batch configuration | AEM Community Blog Seeding

Avatar

Administrator

BlogImage.jpg

Create batch configuration by Adobe Docs

Abstract

Video: https://images-tv.adobe.com/mpcv3/6474/400d49ec-d6de-4204-a8ff-8c08ff5bb728_1644266488.854x480at800_h264.mp4

To use a batch API, create a batch configuration and execute a run based on that configuration. The following video shows a demonstration of creating batch configuration using the API

NOTE
Please make sure the AEM user belongs to

forms-users
group to make API calls.

Create Batch Configuration
The following is the POST endpoint for creating Batch config

/config
The following is the minimum configuration that needs to be specified when creating batch configuration. This needs to be passed as JSON object in the body of the HTTP request

{
"configName": "monthlystatements",
"dataSourceConfigUri": "/conf/batchapi/settings/forms/usc/batch/batchapitutorial",
"outputTypes": [
"PDF"
],
"template": "crx:///content/dam/formsanddocuments/formtemplates/custom_fonts.xdp"

}

Verify Batch configuration
To verify the successful creation of batch configuration, you can make a GET request call to the following endpoint

/config/monthlystatements
You only need to pass an empty JSON object in the body of the HTTP request

Read Full Blog

Create batch configuration

Q&A

Please use this thread to ask the related questions.

0 Replies