You are here:
Post-Upgrade Omnistudio Document Generation Winter '23 and later releases
The only upgrade task for Omnistudio Document Generation is installing new versions of the sample document generation Omniscripts.
- 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__fndocGenerationSampleLwc.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 Omnistudio. The Omnistudio Omniscripts tab opens.
- Verify that the docGenerationSample/fndSingleDocxLwc, docGenerationSample/fndMultiDocxLwc, docGenerationSample/fndMultiPDFConvertLwc and docGenerationSample/fndSingleDocxServersideLwc Omniscripts are listed.
- To ensure that the Omniscripts are active, deactivate and reactivate them:
- Expand docGenerationSample/fndSingleDocxLwc.
- Next to the highest version, click the dropdown arrow and click Deactivate.
- Click the dropdown arrow again and click Activate. If a warning message appears, click OK.
- Repeat these steps for the docGenerationSample/fndSingleDocxServersideLwc, docGenerationSample/fndMultiDocxLwc, and docGenerationSample/fndMultiPDFConvertLwc Omniscripts.
- Replace Custom DocGen Standard Permission Set with DocGen User Permission Set.This step is applicable only to customers who upgraded from Winter '23 to Spring '23. For more information, see Replace Custom DocGen Standard Permission Set with DocGen User Permission Set Spring '23.
- Replace Custom DocGen Standard Permission Set with DocGen User Permission Set Spring '23
The DocGen User permission set is available with the Spring '23 release under the DocGen Designer permission set license. Use the DocGen User permission set instead of your customized DocGen standard user permission set. The steps to replace your custom DocGen permission set with the DocGen User permission set are not mandatory.

