Batch data configuration

Batch data configuration helps you configure a specific instance of Blob storage for Batch APIs. It lets you specify the input and output locations in customer owned Microsoft Azure Blob storage.

Now that our Microsoft Azure storage account is configured. The next step we need to do is to configure a Cloud services configuration in our AEM Forms Cloud service instance. I’ve logged into my instance here. I’ll go into the tools menu here, and I’m going to create a folder that will hold our Cloud services configuration. So here, I’m going to create and give a title called batchapi and select the Cloud configurations options here and click on create.
Click on create to create the folder. The next thing we need to do is now is to create the Cloud services configuration in that particular folder. So go into the Cloud services and click on Azure storage and select the folder that we had created earlier. That was the batchapi and click on create.
So here give a meaningful title here. We’ll call it configurationforbatchAPI.
Okay? And then we give Azure storage account name and the access key. So to get those, we go back to our portal account, drill down into the formscs storage account that we had created. If you don’t see here, you can go into here and go into the storage accounts option to list all the storage accounts that you have. Click on formscs and click on access keys here.
So that tells you, gives you the access key here and the connection string. And it also gives you the storage account name that is formscs. So we can click on show keys to expose the key here. So copy this key. We’re going to use the storage account formscs, formscs and then the appropriate access key. So we go back to our AEM Forms instance, Azure access key. Copy that and put in the formscs as the storage account and then click on save.
Now that our Cloud services configuration is created. The next thing we need to do is to create a unified storage configuration for our batchapi. So to do that, we go back to experience manager. Tools menu. Click on the forms here and click on output batch unified storage connector here.
And you select the folder that we had created earlier the batchapi. And in this, we’re going to create our configuration for batchapi. So click on create give a meaningful title here called batchapitutorial.
And we had to drill down into the Cloud services configuration that we created earlier, and the storage is going to be Microsoft Azure storage here. That’s the only option right now. And we drill down that’s under the conf and under batchapi, settings, Cloud configuration, Azure storage, and configurationforbatchAPI. This is the one which we created previously. Select that option. And here we need to specify the container and folder that will have our xml data files. The container is batchdemo. So if you are to recap so we go into our storage account here and click into the containers here and that’s our container called batchdemo. And inside the container, we have a folder called datafiles. So batchdemo is the container and datafiles is the folder. So we go back to AEM, specify the container, it’s called batchdemo.
And the data files here is here. Call it datafiles. Same thing here, batchdemo, and you can call it a statement. So you don’t need to create this folder beforehand. This will be created at run time. So batchdemo is the container and folder called statements. And here is the batchdemo container. And this is the folder which has our data files.
Okay? So everything looks good. Click on create. -