Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Document Generation Datalist Action is a plugin that exports form data to a Word document based on a specific template.
Figure 1: Generate a Form CRUD
1. Create a word document template with general fields which will determine the layout. For example, if one want to create a CV, the word template will be as shown below:
Figure 2: Word document template
2. Utilizing form field IDs as placeholders for replacing/retrieve actual data. These placeholders are represented as $(field_id), such as $(name) and $(email) etc.
1. Now upload this Word Template (the created word template) in the App's Resource in Joget as shown below:
Figure 3: Upload Word template in the Apps's Resource
2. Now go to List Builder and choose the list of that form that was created earlier and drag and drop the Document Generation Datalist Action plugin element into the list as shown below:
Figure 4: Drag and Drop the Document Generation Datalist Action Plugin in the list
3. Now click on the plugin → plugin Configuration →Template file bring the hash variable of the resource that was uploaded previously.
Figure 5: Get the hash variable of the Resource uploaded previously