Which syntax is used to denote merge codes in Vlocity OmniScript?

Prepare for the Salesforce OmniStudio Consultant Test. Utilize comprehensive flashcards and various question formats, each with detailed hints and explanations. Achieve exam readiness!

Multiple Choice

Which syntax is used to denote merge codes in Vlocity OmniScript?

Explanation:
Merge codes in Vlocity OmniScript are denoted using percent signs around the field path, like %field%. This format tells OmniScript to substitute the actual value from the current data context at runtime, so the UI displays the real data instead of the placeholder. For example, %Contact.FirstName% will render the contact’s first name once the data is loaded. Other forms such as using quotes around the field, or braces, are not recognized as merge codes by OmniScript and would appear as literal text rather than dynamic values. So the percent-delimited syntax is the correct way to reference dynamic data in OmniScript.

Merge codes in Vlocity OmniScript are denoted using percent signs around the field path, like %field%. This format tells OmniScript to substitute the actual value from the current data context at runtime, so the UI displays the real data instead of the placeholder. For example, %Contact.FirstName% will render the contact’s first name once the data is loaded. Other forms such as using quotes around the field, or braces, are not recognized as merge codes by OmniScript and would appear as literal text rather than dynamic values. So the percent-delimited syntax is the correct way to reference dynamic data in OmniScript.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy