You are here:
Import the Omniscript DataPacks for Omnistudio Document Generation Spring '22
The sample Omniscripts are provided as Static Resources, which you download and then import.
- From Setup, in the Quick Find box, enter static.
- Click Static Resources.
- From the View list, select All.
- Click the letter F.
- Click fnddocGenerationSampleLwc.
- Right-click View File and select Save Link As....
- Save the file as omnistudio__fnddocGenerationSampleLwc.json.
- If you’re using server-side document generation, click Static Resources again. Otherwise skip to step 14.
- From the View list, select All.
- Click the letter F.
- Click fndServerSideDocumentGeneration.
- Right-click View File and select Save Link As....
- Save the file as omnistudio__fndServerSideDocumentGeneration.json.
- Go to the Document Template Designer tab.
- Click Import.
- Click Browse to find the omnistudio__fnddocGenerationSampleLwc.json file.
- Click Next.
- Ensure that all items are selected, click Next.
- Review the items to import, click Next.
- If any error occurs, click Ignore This Error.
- When the import is complete, click Activate Now.
- Ensure that all items are selected, click Next.
- Click Done.
- If you’re using server-side document generation, repeat steps 15 through 23 for the omnistudio__fndServerSideDocumentGeneration.json file you saved in step 13.
- In the App Launcher, type omni and select Omniscripts. The Omnistudio Omniscripts tab opens.
- Verify that the docGenerationSample/fndSingleDocxLwc, docGenerationSample/fndMultiDocxLwc, docGenerationSample/fndMultiPDFConvertLwc and docGenerationSample/fndSingleDocxServersideLwc Omniscripts are listed.

