Project to provide guidance and solution options for Nonprofits needing a doc gen solution This project a proud part of Salesforce.org Open Source Commons initiative.
Users want to be able to generate PDF documents for different use case scenarios. The document generators available in markets are pricey or require significant technical expertise.
The Open source document generator combines the power of Salesforce email templates and LWC. It enables the users to generate documents tailored to their specific needs. Working : User creates/updates an Lightning email template (With merge fields if applicable). User also adds a quick action on the record page of sObject. On click of the quick action, user chooses the applicable email template and system resolves the merge fields and creates a PDF document (based on the chosen email template)
- Create the desired email template. The name of the email template should contain the API Name of the sObject based out of which the document need to be generated. Example, if you want to create a welcome aboard email template for new accounts, your email template name should be Account_ or welcomeAboard_Account.
-
Create a quick action on the corresponding Object. Action type: Lightning web component LightningWebComponent : generateDocumentsQuickAction Label :
-
Add the quick action to the required page layout. Example, for quick action to be on Account, Object Manager-> Account-> Page layouts-> Mobile Lightning Action-> Drag and drop the quick action created on the previous step.
-
Setup-> Static Resources -> upload download.js . MIME Type: Text/Javascript , Cache control : Public
-
Your installation is ready !
- Once installed, your quick action button should be available on detail page.
- Click on the button-> choose your document template-> Click on generate Document.
Currently, this tool does not support templates with rich text formats and multiple images. However it supports basic HTML templates.
Support for rich text format documents. Functional for any page size/ Image/ Content.
https://app.slack.com/client/T01G0063H29/C04K8PJNYLW/thread/C04AFQFSCQP-1673954871.274739
- S-Docs
- Conga
- Foundation Document generation
- Docomotion.
- Way 1. Support by providing us used cases of Doc Gen Requirement within the Non Profit Sector
- Way 2. Support with developing and testing the tool
Documentation can be found in the repository [wiki] (URL for wiki where docs are stored) https://docs.google.com/forms/d/e/1FAIpQLSd8483IlUJUJlznxsMznZHkmWJQ75O83pkzdKien1seg-4jJw/viewform https://docs.google.com/document/d/1bUG0DQGpAULCAyFRIWJnFWAnWWBVuWfZI6oacJOYqD8/edit
BELOW CONTENT TO USE TO CREATE YOUR FIRST WIKI PAGE TO HOUSE DETAILS ABOUT YOUR SPRINT PARTICIPATION.
- Cut the below from the readme and paste into a new Wiki page. Delete these instructions.
- Update that wiki page with details from the Sprint.
- Copy that format for the next Sprint.
Add details here - what you did, links to docs if there are any, etc.
Full Name | Team Role | Github Username | Working Group? |
---|---|---|---|
Rebecca Heald | Group Leader | ||
Aishwarya Badri | Contributor/Developer | ||
Phoebe Lee | |||
Srividya |
(AKA what were you unable to finish at the Sprint) Replace with the goals your team would like to continue working on next time.