This repository contains resources for the Suffolk LIT Lab's Document Assembly Line trainings.
- Pause frequently and ask everyone to give a thumbs up when they are caught up
- Encourage questions, and occasionally pause (long enough for it to get awkward!) so people have time to consider what questions they might have and speak up
This training is built around 3 90-minute sessions.
This session is an introduction to “vanilla” Docassemble. At the end of this session, you will be able to create simple interviews that generate completed documents.
Before this session, attendees should:
- Register an account on the LIT Lab development server
- Email [email protected] to request developer privileges (include the email you used to register)
- Be invited to the Microsoft Teams Document Assembly Line team
Outline:
- Introductions
- Make sure everyone can access the Playground
- Highlight resources for interview builders
- Weekly meetings
- Community help forum
- Monthly workshops
- Docassemble Slack
- Create a new project and get started!
- Introduction to the Docassemble Playground (Hello, world!)
- Create your first question
- Working with common question types
- Specifying the order of questions
- Dynamic questions
This session builds on the first session.
Before this session, you should have a working interview based on this code.
Outline:
- Recap the first session
- Make sure nobody is lost or stuck
- Open the Playground and get started!
- Basic document assembly using Markdown
- Document assembly using Word templates
- Document assembly using Acrobat templates
This session is an introduction to the Document Assembly Line Weaver. At the end of this session you will be able to use the Weaver to generate a draft Docassemble interview from an existing form.
The documentation website also includes a helpful guide to the Weaver-generated YAML.
Note: this session does not have example YAML files because we will be using the Weaver to generate them from PDF and DOCX templates.
Outline:
- Prepare
../templates/affidavit_template.pdf
using Adobe Acrobat or the free Gavel PDF tool by changing variable names to match AssemblyLine field labels- Change
full_name
tousers1_name_full
and subsequent occurrences tousers1_name_full__1
,users1_name_full__2
, and so on - Change
signature
tousers1_signature
- Change
- Run the PDF through the Weaver, then upload the package to the Playground
- Locate familiar blocks in the Weaver-generated YAML:
- Interview order
- Questions (note questions that are "missing" because they are pulled in from the question library)
- Attachment (Don't ignore the rest of the file, but note that they'll be able to learn about other blocks when they need to.)
- Run the interview
- Demonstrate how to modify a question from the library
- Prepare
../templates/affidavit_template.docx
by changing variables names to match AssemblyLine field labels- Change
full_name
tousers[1].name.full()
- Change
signature
tousers[1].signature
- Change
- Run the DOCX through the Weaver, then run the interview and note any differences
- Discuss the differences between DOCX and PDF templates
- Introduce the the GitHub workflow
- Publish the interview to GitHub
- Create issues based on the unimproved Weaver-generated interview
- Walk through the GitHub workflow with one of those issues