Automation script for creating override forms at Financial Horizons.
-
Install docassemble (see How to install docassemble)
-
Log in to admin account
-
Set up the Configuration
⚠️ Make sure that any newly-added property in the YAML file is not already defined in the file.-
Email
Email config is required to send emails to carriers, see E-mail configuration
SMTP is likely the best option to work with FH's Microsoft Exchange server.
-
Translations
Make sure the
wordsproperty (used to translate words in interviews) is set to the below code. See wordswords: - docassemble.base:data/sources/us-words.yml # adds french translation for docassemble - docassemble.base:data/sources/fr-words.yml # adds french translations for override form interview - docassemble.fhoverrideforms:data/sources/words.yml
-
-
In 'Package Management', install this package using the Github URL (i.e. https://github.com/bensengupta/docassemble-fhoverrideforms)
-
The interview should now be accessible at https://YOUR_DOCASSEMBLE_URL/fhoverrideforms/interview
- For more user-friendly URLS, see the
dispatchdirective (the interview name isdocassemble.fhoverrideforms:data/questions/interview.yml)
- For more user-friendly URLS, see the
-
Emails will not send to carriers until the
DEBUG_EMAIL = Trueline (use the search bar) is set toDEBUG_EMAIL = Falseinoverride_forms.py. To do this, you can make changes via GitHub in your browser, or set up the playground (see below instructions) and edit the file in the 'Modules' section -
Set up the
send_emailfunction inoverride_forms.pywith the correctsender,cc, andreply_toparameters (seesend_email)
-
If possible, the docassemble docs recommends running a separate instance of docassemble for development since changes to interview files often require a full server restart and might interfere with users performing interviews.
-
Set up GitHub integration (or another integration) to back up and track version history of interview files.
Note that if you wish to delete a file in the Playground, you must also manually delete it on GitHub.
-
Set up the playground
-
Open the Playground, click on arrow on top left and click 'Manage Projects'
-
Create a new project
-
Folders > Packages > Pull
-
Enter GitHub URL and click Pull
-
The package is now ready to edit in the playground
If you configured GitHub integration, you should see a GitHub button at the bottom of the packages screen to push changes to GitHub
Make sure you are running the main interview file
interview.yml. Running the other files will not work.
-
Docassemble stores interview answers server-side, and does so by establishing a session with a cookie on the browser. This feature is useful for saving/resuming interviews or even transferring interviews to another device while keeping progress (achieved by transferring the session cookie to the new device). Unfortunately, this method of keeping the session tied to a cookie also means that you cannot have more than one concurrent session of an interview at the same time. (i.e. you can't fill in two identical interviews in two different browser tabs, only one session is allowed and the other one is voided)
If this one-interview-at-a-time issue is a bottleneck, a possible solution would be to set up an extension such as Temporary Containers for Firefox (open-source on GitHub) that isolates docassemble's cookies in it's own tab and voids the cookies when the tab closes, thus providing a separate session cookie for each tab and allowing multiple interviews to be completed at the same time.