GCX-SCR practice question 15 of 15

Which of the following statements about templates in scripting are true? (Choose two.)

Full set: 60 questions
Answer options
A: Script templates are entire scripts that have been packaged for reuse. Correct answer
B: Use a component template when you create a new script.
C: A script template contains a single saved component such as text, or a layout of components such as a horizontal stack container.
D: Component templates are parts of a page that you can reuse in other scripts. Correct answer
Correct Answer:
A. Script templates are entire scripts that have been packaged for reuse.; D. Component templates are parts of a page that you can reuse in other scripts.
Explanation

In Genesys Cloud CX scripting, there are two distinct types of templates. Script templates are complete, pre-built scripts that serve as a starting point when creating a new script. For example, Genesys provides default inbound and outbound script templates. This makes them entire scripts packaged for reuse. Conversely, component templates are not entire scripts but are reusable collections of components, layouts, and their properties. An administrator can create a component template, such as a customer information panel, and then reuse that same panel across multiple different scripts, ensuring consistency and saving development time.

Why Incorrect

B. Use a component template when you create a new script. This is incorrect. You begin the creation of a new script by selecting a script template (e.g., Blank, Default Inbound), not a component template.
C. A script template contains a single saved component such as text, or a layout of components such as a horizontal stack container. This statement incorrectly describes a component template. A script template is a full script, not a single component or a layout of components.

References

1. Genesys Cloud CX Resource Center, "Create a script," Article ID: 12253.

This document states, "When you create a script, you begin with a template. A template is an entire script that has been packaged for reuse." This directly supports option A and refutes option B.

2. Genesys Cloud CX Resource Center, "Work with component templates," Article ID: 12261.

This article specifies, "Component templates are parts of a page that you can reuse in other scripts." This directly supports option D. It also provides examples like creating a template for taking notes, which aligns with the description in option C but correctly identifies it as a component template, thus showing why C is incorrect.

3. Genesys Cloud CX Resource Center, "About scripting," Article ID: 12251.

This overview document clarifies the distinction: "Genesys Cloud includes several default scripts that you can use as templates for your own scripts... You can also create component templates, which are parts of a page that you can reuse in other scripts." This reference supports the reasoning for both correct and incorrect answers by defining the two template types separately.

Scroll to Top