Before You Begin - Salesforce
[Pages:19]Foundation Document Generation Exercise Guide
Before You Begin
Did you sign up for a special Developer Edition org already? You'll need one to do the steps in this guide. Here's how to request one if this is your first time doing the exercises for the Foundation Document Generation module:
1. Sign up for a free Developer Edition org. 2. Fill out the form.
a. For Email, enter an active email address. b. For Username, enter a username that looks like an email address and is
unique, but it doesn't need to be a valid email account (for example, yourname@). c. After you fill out the form, click Sign me up. A confirmation message appears. 3. When you receive the activation email (this might take about 10 minutes), open it and click Verify Account. 4. Complete your registration by setting your password and security challenge question. Tip: Write down your username, password, and login URL for easy access later.
You are logged in to your Developer Edition and you can begin practicing.
? Copyright 2021 , inc. All rights reserved.
1
Foundation Document Generation Exercise Guide
Create Document Templates
Requirements
"As a Sales Rep, I'd like to generate quote documents with a click of a button from a quote record page and have a Word Document and PDF version attached in the Notes section of the quote record page."
Create a quote document template in Microsoft Word with appropriate tokens and upload the .DOCX template into the Document Template Designer in Salesforce.
Prerequisites
None
Tasks
1. Insert tokens into Microsoft Word DOCX template. 2. Create a Microsoft Word DOCX template. 3. Test the Microsoft Word DOCX template.
Time
15 minutes
? Copyright 2021 , inc. All rights reserved.
2
Foundation Document Generation Exercise Guide
Task 1: Insert tokens into Microsoft Word DOCX template
1. Using the Lightning App Launcher,
type files in the search box. Under Items,
click Files.
2. Click Libraries.
3. Click the Document Generation folder.
4. Click Download to download the file Quote Document Template V1.
5. Open the Quote Document Template V1 in Microsoft Word to edit the file. 6. Replace the fields with the variable token in the document as shown below:
Field ACCOUNT NAME
Variable Token {{AccountName}}
? Copyright 2021 , inc. All rights reserved.
3
Foundation Document Generation Exercise Guide
STREET1 CITY STATE COUNTRY POSTAL CODE QUOTE NUMBER DATE PRODUCT QUANTITY UNIT PRICE AMOUNT TOTAL
{{Street}} {{City}} {{State}} {{Country}} {{PostalCode}} {{QuoteNumber}} {{ExpirationDate}} {{Product}} {{Quantity}} {{UnitPrice}} {{Amount}} {{TotalPrice}}
? Copyright 2021 , inc. All rights reserved.
4
Foundation Document Generation Exercise Guide
NOTE: Variable tokens display the value of a variable that is passed into the document template as a JSON element. The displayed value uses the formatting of the first curly brace. For example, if the first curly brace in the token is italicized, the text in the token is italicized as well.
7. In the Items Quoted table, use a repeating content token {{#products}} to display product line items. The line items will be repeated. For each line, it will display the product name, quantity, unit price and subtotal. Use {{/products}} to close the tag.
? Copyright 2021 , inc. All rights reserved.
5
Foundation Document Generation Exercise Guide
8. Use a conditional token {{#IF_Customer_in_HI_AK}} to display the delivery time disclaimer for customers who live in Hawaii or Alaska. Use {{/IF_Customer_in_HI_AK}} to close the tag.
9. Save the updated Microsoft Word DOCX file to your desktop.
? Copyright 2021 , inc. All rights reserved.
6
Foundation Document Generation Exercise Guide
Task 2: Create a Microsoft Word DOCX template
1. Using the Lightning App Launcher,
type Foundation Doc Gen in the search
box. Click Foundation Doc Gen.
2. In the Lightning Navigation Bar, click Document Template Designer tab.
3. Click New on the top right section to create a new document template. The Start
New Template page opens.
4. In the Template Settings section, enter the following information:
Field Name Template Type Token Mapping Token Mapping Method Mapping Dataraptor Bundle Name Data Extract Dataraptor Bundle Name Document Generation Mechanism
Information Quote Document Microsoft Word JSON OmniDataTransform transformGetQuoteDetails docgenGetQuoteDetails Client-side
? Copyright 2021 , inc. All rights reserved.
7
Foundation Document Generation Exercise Guide
5. Drag the updated .docx file (Quote Document Template V1) from your desktop into the Document Template Designer or click Browse to upload the .docx file.
? Copyright 2021 , inc. All rights reserved.
8
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- how to create a new impress document using a template openoffice
- before you begin salesforce
- ssis document template editor module us
- create a contract document electronically minnesota
- how to create document templates fourth hospitality
- 2 9 document templates agiloft
- using styles and templates openoffice
- create offer document texas tech university
- document templates rynagh mcnally it notes
- how to work with templates openoffice
Related searches
- before you buy a home
- before you get married quiz
- before you get married
- 100 must reads before you die
- top books to read before you die
- books to read before you die
- the 5 years before you retire retirement planning when you need it the most
- before you get married checklist
- before you get married questions
- before you marry
- when can you begin withdrawals from 401k
- 100 classics to read before you die