DOCX generation via LWC/SDK

 

Learn how to generate DOCX document templates from the LWC/SDK.

  1. In the opportunity record, you can see that we have a Templates to Generate and Generated Documents LWC in our app, under the Opportunity record, where you can now generate a DOCX or PPTX template.
  2. Click Select Templates.
  3. Choose the template you want to generate, then click Generate. Then, close the window.
  4. You can now see the template you selected under the generated documents LWC.
  5. To pre-load your templates into the LWC, click the settings icon, then click Edit Page.
  6. Click on the LWC, then a right sidebar menu will open where you can add templates.You can also edit the Generated Documents LWC here, too.

Was this helpful?