Loading
Important Advisory: iOS Update Impacting CG Mobile ApplicationRead More
Vlocity Contract Lifecycle Management
Add Client-Side Fonts in CLM

Add Client-Side Fonts in CLM

Complete these steps to add fonts, or follow the instructions in the Vlocity Installation Assistant on the Diagnostics tab for the Add Extended Font step.

Important
Important

This procedure is for adding fonts with a file size of less than 2.9 MB. If the font size is greater, contact Vlocity Support.

  1. Log into your company's org.
  2. Check your Static Resources and see if you have cs_vlocity_webfonts_main already installed. If not, complete the following procedure.
    • In the Developer Console, run the following script:

      Note
      Note

      Replace namespace with the namespace of your company's org: vlocity_cmt, vlocity_ins, or vlocity_ps.

      
      namespace.CmPostInstallClass.preparePdfFontLibrary(false, null); 
  3. Go to the Knowledge Base article that contains the font files of the font you want to add, and download the font Zip file.
  4. Log into your company's org.
  5. From Setup, in the Quick Find box, enter static.
  6. Click Static Resources.
  7. Click New.
  8. In the Name field, enter the name of the font Zip file by using the following naming convention: cs_vlocity_webfonts_fontname.
  9. In the File field, click Choose File and browse to the download location of the font Zip file.
  10. Click Save.
  11. In the Developer Console, run the following script:
    Note
    Note

    Replace fontname with the name of the font and replace namespace with the namespace of your company's org: vlocity_cmt, vlocity_ins, or vlocity_ps.

    Set <String> fonts = new Set<String>();
    fonts.add('cs_vlocity_webfonts_fontname');
    namespace.CmPostInstallClass.preparePdfFontLibrary(true, fonts); 
  12. Close the Developer Console.
  13. Verify the fonts are installed.
    1. From Setup, go to Static Resources.
    2. Click cs_vlocity_webfonts_main.
    3. Click View file to download the Zip file.
    4. Open the Zip file.
    5. Open the fonts.json file. Verify the file contains references for the font you installed.
 
Loading
Salesforce Help | Article