Configure Browser-Based Preview for Omnistudio Document Generation
Configure the browser and remote site settings for proper handling of PDF files in the
previewer. Use the document preview feature for clear rendering of formatting and visual elements
for files such as PDF, DOCX, and PPT directly within the browser.
Required Editions
Available in: Lightning Experience
Available in: Professional, Enterprise, Unlimited, and
Developer Editions
Configure your browser to open PDFs. For example, in Firefox:
Open Settings, and then click General
tab.
Under Files and Applications, scroll to Applications.
Locate the content type Portable Document Format (PDF), and set the action to
Open in Firefox.
Note that the exact instructions vary depending on which browser you're using.
To grant access to your org domains to enable the previewer, update remote site
settings.
Open any Omniscript in your org and click Preview.
If you’re only using the document generation flow from the Contract record page, go to
the Details tab, scroll to the contract document section, right-click the
ContractDocumentNewDisplay VF component, and complete the remote site settings.
To open the iframe in a new browser tab, right-click in the white space of the previewer
and select View Frame Source.
Copy the vf.force.com URL from the address bar.
For example, https://MyDomainName--c.vf.force.com.
From Setup, in the Quick Find box, enter Remote Site Settings and
select it.
Click New Remote Site.
Enter a remote site name for the vf.force.com domain.
Ensure that the name doesn’t include spaces. For example, enter LWC_VF.
In Remote Site URL, enter the URL that you previously copied.
For example, https://MyDomainName--c.vf.force.com.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.