Legacy Feature - Component Scripts
Change Type
|
Description
|
Version Number
|
New feature
|
N/A
|
4.5.19
|
Enhancements
|
Component scripts no longer customer-specific, and can be accessed from all customers.
|
4.5.33
|
Deprecated
|
Component Scripts Deprecated - scheduled for removal from product
|
4.5.51
|
Component Scripts are scripts within scripts. When the component script is changed, the change is reflected in all scripts in which the component is embedded.
There are two main benefits in using Component Scripts:
-
To minimise the effort in updating scripts with similar content.
-
Enabling less technical scripters to employ components developed by more technical colleagues.
Features:
-
The agent will be unaware that they are using a component script. They will simply move on to the next page in a script, which will then display the component script. They then work through the component script and return to the main script page as defined in the advanced properties of the "Button - Component Link" control in the main script.
-
Multiple component scripts can be used within any master script.
-
Component scripts can be used in multiple scripts for the same customer (please note - from V4.5.33 they can be accessed across all customers).
-
For versions pre-4.5.33 component scripts can be copied between customers but will be maintained separately thereafter (please see above bullet point).
-
Updates to a component script will be reflected in all master scripts that utilise it.
-
Using fields and variables with the same field name in both the component and the master script will share the data automatically.
-
Component scripts can be pre-scheduled in the same way as any other script.
-
Reports can be generated viewing all data in the master and component script (when the master script is selected to generate the report against, all fields from both master and component script appear in the Report Designer).
Limitations
Creating Component Scripts
Component scripts are created and built in the same way as any other script. When adding a script, choose Component Script from the script type menu on the script attributes page:
The main difference between component and other script types is that that they do not have wrap and end pages. A component can include as many pages as required.
To include a component script within a main or master script a "Button - Component Link" control is added to the page that you want to jump to your component from.