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

Study for the Salesforce OmniStudio Consultant 2 Exam. Engage with flashcards and multiple choice questions, each providing hints and explanations to aid learning. Prepare thoroughly to pass your certification!

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