Additional Forge components needed
To use this sample application you need Adobe PDF-Services credentials. Adobe offers a free trial for Adobe PDF Services. Register for a trial here: https://developer.adobe.com/document-services/apis/pdf-services/
After you have retrieved your credentials open Service Center where you installed the sample application. Go to the AdobeDocGen_CS module and click the Site Properties tab. Configure the named Site Properties (starting AIO_) according to your credentials. These will be used to get an access token via the Adobe IMS Token Exchange component.
Go to the Operations tab and make sure that the Light Business Process option is activated.
Open the demo application. You will note that there is boostraped employee data. Click on the Enrollments Count Link of an employee and add some enrollments to courses.
Back on the Main page you can send add employees to a document generation batch.
Enter a title for a batch run and upload a Word Document with Adobe Tag Templates. The Main page allows you to download a Sample Document Template and also provides links on how to create your own templates.
Click the Submit Batch button.
Running batches are available under the Batches menu item. Click on the batch to see the individual jobs.
The heart of this sample
Read the comments in the Token_GetAccessToken server action in AdobeDocGen_CS module. This is an example on how to retrieve an Adobe IO access token and cache it.
Read the comments in the Generate process. This is an example on how to process document generations in a Light BPT process.