INSTRUCTIONS
Option 1
- Insert Hyperlink Merge field.
- Press Alt + F9.
- In the merge field insert the link to run the DDP.
ex) {HYPERLINK "https://na12.salesforce.com/apex/loop__looplus?eid=<<Account_Id>>&DDPids=a02U000005HV11&deplay=Id&autorun=true" * MERGEFORMAT} - Press Alt + F9.
- Highlight the syntax error, and type in the text.
Option 2
- Insert hyperlink merge field. The tag should look similar to the following: {HYPERLINK “Test Name”}
- Press Alt + F9.
- Insert the hyperlink with field tag. For example: "https://na15.salesforce.com/<<Opportunity_Id>>”
- Turn on Keep Word Formulas on the DDP.
- In the Word document, create a Bookmark.
- Press Ctrl + F9, and then enter a bookmark similar to the following: { SET "Link" https://na15.salesforce.com/<<Account_Id>> }
- Create a Hyperlink
- Click the desired location for the hyperlink.
- Press Ctrl + F9, and then type the following: { HYPERLINK "" }
- Nest a REF inside of the HYPERLINK.
- Inside of the quotation marks click Ctrl + F9, and then insert the name of the bookmark in quotes. For example: { HYPERLINK "{ REF "Link" }" }
- Update both the REF and Hyperlink.
- Save and Run.
Option 3
- Insert Hyperlink merge field, create a placeholder link, and insert into the hyperlink field: ex: {HYPERLINK "https://google.com"}
- Update field (F9).
- Toggle Field Codes off (alt+f9), update display text ("https://google.com" in this example).
- Place text cursor in display text, add your display text (a field tag for dynamic display text), then remove extraneous text.
- Update field (f9).
- Toggle Field Codes on (atl+f9), replace placeholder link with actual link with field tag. Note: Do NOT update field at this point.
- Toggle Field Codes off (alt+f9), save file, upload, test.