Loading
The Trailblazer Community is now read-only Read More
Vlocity Contract Lifecycle Management
Set Up the matchPatterns Element

Set Up the matchPatterns Element

You must add a list of keys for the matchPatterns element.

  1. In the fonts.json file you created, in the matchPatterns, add an empty element.
  2. Add match as a key with the font name that you see in your document file. This is the name that you want to which you want to match your custom font.
    Important
    Important

    This name is case-sensitive.

  3. Add type as a key that matches the value. You can use the following values:
    • Wildcard

    • String

    • All

  4. Add target as a key that is the same as the id key you added in the fontList.

    Example of the matchPattern Element With Keys

    "matchPatterns":[
    		{
                "match":"Roboto",
                "type":"Wildcard",
                "target":"roboto"
            }
        ]
 
Loading
Salesforce Help | Article