Document Generation
Doc Gen Widget Set-up
cloudfiles document generation docid\ cmqmhkrlb3mveyvyapv9c is used to generate docx and pdf documents using salesforce data it integrates directly within salesforce record pages, displaying all published templates related to a specific object users can select a template, generate a document, and download it in docx or pdf format this functionality relies on the cloudfiles word add in, which is used to design and manage document templates with salesforce fields, and must be connected to your salesforce org for full functionality widget configuration after setting up the cloudfiles word add in , the document generation widget can be configured within salesforce using the lightning app builder the widget supports several configuration options widget placement you can add the widget to any record detail page, making it accessible directly from relevant salesforce objects template display the widget automatically pulls in and displays all published templates related to the specific salesforce object, allowing users to select the appropriate template quickly document settings users can choose between docx and pdf output formats when generating documents automatic download once a document is generated, it is automatically downloaded to the user's device field mapping templates created using the word add in are dynamically populated with salesforce data based on field mappings configured within the template cloudfiles document generation widget set up the cloudfiles doc gen lwc can be easily added to any object's record detail page in salesforce once added, this widget will display all the published templates related to that object users can then generate documents in either docx or pdf format, which will be automatically downloaded upon generation follow the steps below to add cloudfiles doc gen widget to any page go to any object's record detail page and click “edit page” button lightning builder for this page will open drag and drop the "cloudfiles doc gen" widget into the desired location save and exit the builder refresh the salesforce record page the widget displays all the published templates for that object for visual understanding, refer to the video below note if you're on a paid plan, reach out to the cloudfiles support team for further assistance, at support\@cloudfiles io