https://vcc.live/wp-content/uploads/2022/03/vcclive_main_logo.svg
  • Product
    Back to all pages
    https://vcc.live/wp-content/uploads/2023/09/call-cetner-software-test-7.svg
    Call center

    Explore our call center software for driving productivity, fueling automation, and delivering exceptional CX.

    Powering Decathlon's call center

    https://vcc.live/wp-content/uploads/2022/09/Decathlon_Austria_Thumbnail.jpg
    Why VCC Brochure Security
    https://vcc.live/wp-content/uploads/2023/09/outbound-test-3.svg
    Outbound

    Handle more live calls, boost talk time, and automate outreach with a feature-filled outbound solution.

    Features to boost outbound activities

    Automatic dialing Voicemail detection Outbound IVR Over-the-phone payments

    Fueling your outbound sales

    https://vcc.live/wp-content/uploads/2023/09/boosting-sales-thumbnail-image.jpg
    Sales teams > Case studies > Collections >
    https://vcc.live/wp-content/uploads/2023/09/inbound-icon-3.svg
    Inbound

    Swiftly resolve issues, empower omnichannel, and handle volume with ease with our CX-focused solution.

    VCC live for inbound contact centers

    IVR systems Distributing calls (ACD) Call center scripting KPI dashboard

    Transforming customer service for tbi bank

    https://vcc.live/wp-content/uploads/2023/05/tbi-interview-banking.jpg
    Customer service > Case studies > Multichannel >
    https://vcc.live/wp-content/uploads/2023/09/omnichannel-test-3.svg
    Omnichannel

    Instantly switch between your customer's preferred channels and handle multiple conversations at once.

    Key channels VCC Live supports

    Voice SMS Email Chat software Chat apps Social media

    Email, social and more for SYKES and Huawei

    https://vcc.live/wp-content/uploads/2023/09/sykes-topnav-menu.svg
    WhatsApp > Messenger > Case studies >
    https://vcc.live/wp-content/uploads/2023/09/integrations-test-4.svg
    Integrations

    Connect VCC Live with any of your trusted business tools, including CRMs, payment tools, and much more.

    Selected integrations for VCC Live users

    Salesforce Hubspot Looker (Data Studio) Docusign Dialogflow Zapier

    Handle calls without leaving Salesforce

    https://vcc.live/wp-content/uploads/2023/06/salesforce-video-1.jpg
    Looker case study > Release center > Security >
  • Solutions
    Back to all pages
    https://vcc.live/wp-content/uploads/2023/08/sales-call-center-icon.svg
    Sales teams

    Connect and sell more than ever before with an automation-led solution for driving sales success.

    Powerful BI for next-level sales

    https://vcc.live/wp-content/uploads/2023/09/effective-communicatio-case-study-topnav.png
    https://vcc.live/wp-content/uploads/2023/08/customer-service-call-center-icon.svg
    Customer service

    Orchestrate a high-volume handling and resolution-focused approach that delights customers.

    92% of calls within SLA

    https://vcc.live/wp-content/uploads/2023/09/decathlon-case-study-topnav-2.png
    https://vcc.live/wp-content/uploads/2023/08/debt-collection-call-center-icon.svg
    Debt collection

    Make collections faster and simpler to speed up repayments and recover like never before.

    94% voicemail detection rate

    https://vcc.live/wp-content/uploads/2023/09/delfin-group-case-study-topnav.png
    https://vcc.live/wp-content/uploads/2023/10/ai-topnav-icon-2.svg
    AI and automation

    Drive intelligent productivity and efficiency with VCC Live's suite of AI and automation tools.

  • Industries
    Back to all pages
    BPO Retail Banking Insurance Consumer Lending Healthcare
  • Pricing
  • Resources
    Back to all pages
    Blog Case Studies Ebooks Call Center Courses Webinars Customer interviews Information Security Telco Services Learning Center Developers Release Center Download
  • Company
    Back to all pages

    Explore more

    About us Why VCC Live Careers News Partners

    Check out our history

    https://vcc.live/wp-content/uploads/2023/09/20yrs-anniversary-thumbnail.jpg
  • Partners
  • Become a partner
  • Email us
CONTACT US VIEW DEMO
Developer GuidesScript SDKObjectsCONTROLLER_OBJECT
  • Overview
    • About Script SDK
    • Examples
  • Constants
    • CONTROLLER_HELPERS
    • DISPOSITION_ASSESMENTS
    • FIELD_QUOTAS
    • FIELD_TYPES
  • Variables
    • fields
    • isAgent
    • isInbound
    • isTest
  • Functions
    • addVoicefileTag
    • alert
    • callCustomerApi
    • clearDtmf
    • confirm
    • contains
    • dump
    • getChannelVariable
    • getCommission
    • getController
    • getCurrentPage
    • getFieldNames
    • getFieldProp
    • getFieldValue
    • getFieldValues
    • getGoogleAccessToken
    • getMicrosoftAccessToken
    • getPages
    • getPrice
    • getQuotaFieldData
    • getScriptVariable
    • getTabs
    • goNext
    • goTab
    • httpRequest
    • inArray
    • isSelected
    • isVoiceRecordingActive
    • openURLInDefaultBrowser
    • runApplication
    • salesforce.getAccessToken
    • searchObject
    • setDisposition
    • setEventListener
    • setFieldValue
    • setTimeout
    • startVoiceRecording
    • stopVoiceRecording
    • toggleVoiceRecording
    • transfer
  • Events
    • controller.afterSetData
    • controller.onLoadData
    • global.beforeSetDisposition
    • global.onCall
    • global.onLoad
    • global.onHangup
    • page.checkBeforeLoad
    • page.onLoad
    • page.onNext
  • Objects
    • CONTROLLER_OBJECT
    • DISPOSITION_OBJECT
    • FIELD_PROPERTY_OBJECT
    • FIELD_VALUE_OBJECT
    • QUOTA_DATA_OBJECT
Back to Support and Learning Center
English Hungarian

CONTROLLER_OBJECT

Structure of the controllers of the script.

Summary

Variables
disabled {Boolean} true if the controller is disabled.
hidden {Boolean} true if the controller is hidden.
Functions
clearHelper Hide the small icon.
controller.watch Watches input elements on the loaded web page.
maximizeOpBrowser Opens Browser control in full screen mode.
rebuild Rebuild the structure of the controller. DEPRECATED in VCC Live 360 as it is performed automatically by the system.
refresh Refresh the controller based on the selected values of the fields belonging to it. DEPRECATED in VCC Live 360 as it is performed automatically by the system.
showHelper Show a small icon beside the controller.
clear Clears value from controller.
getSelected Gets selected value from a controller, only applicable to Email template selector controller.
setSelected Sets selected value for a controller, only applicable to Email template selector controller.

VARIABLES

disabled

{Boolean} true if the controller is disabled.

hidden

{Boolean} true if the controller is hidden.

 

FUNCTIONS

clearHelper

Hide the small icon.

Parameters

none

Returns

none

Example

see showHelper

 

maximizeOpBrowser

Opens Browser control in full-screen mode. Only available for Browser control.

Parameters

none

Returns

none

Example
$('page1').onLoad = function() {
    vcc.getController('browser').maximizeOpBrowser();
    });
};

 

refresh

Refresh the controller based on the selected values of the fields belonging to it. (Important: it only refreshes the selection/value of the controller, not the selectable values.)

Warning: This function is DEPRECATED in VCC Live 360 as it is performed automatically by the system.

Parameters

none

Returns

none

Example

We have the original data in a text field, but we don’t want them to be changed. We have a field for the actual data, and for simplicity, we would like to copy the original data to the actual field and controller by clicking on a button.

$('page', 'my_button').afterSetData = function() {
     // copy the value to the new field (it is stored in the database)
     vcc.setFieldValue('actual', vcc.getFieldValue('original'));
     // refresh the controller to load the the value from the database
     vcc.getController('page', 'actual').refresh();
};

 

rebuild

Rebuild the structure of the controller. You need to use it if you want to update the available values.

Warning: This function is DEPRECATED in VCC Live 360 as it is performed automatically by the system.

Parameters

none

Returns

none

Example

After updating the manufacturer field we want to filter the mobile phones according to the selected manufacturer. You can find the remaining code in the documentation of the EVENTS.onLoadData> event.

$('page', 'manufacturer').afterSetData = function() {
     vcc.getController('page', 'mobile_phones').rebuild();
};

 

showHelper

Show a small icon beside the controller. It can be used for errors, warnings, or just as information.

Parameters
Name Type
mode {vcc.CONTROLLER_HELPERS} the mode of the helper
label {String} the main text of the helper
[title] {String} the title of the helper
Example

We want to warn the agent if the amount of the salary is bigger than 2000.

$('page', 'salary').afterSetData = function(data) {
     if (data > 2000) {
         vcc.getController('page', 'salary').showHelper(vcc.CONTROLLER_WARNING,
                 'The salary can be mistyped');
     } else {
         vcc.getController('page', 'salary').clearHelper();
     }
};
Back to Support and Learning Center

Comments

Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.


There are no comments yet.

Click here to cancel reply.

Please note that by clicking on the Submit button, you agree to a member of VCC Live team contacting you with business offers. You can find detailed information on how we can establish contact with you in our Privacy Policy

illustration

Product

  • Call center
  • Outbound
  • Inbound
  • Omnichannel
  • Channels
  • Integrations
  • More on VCC

Main Features

  • IVR system
  • Auto dialer
  • Call queuing software
  • Automatic Call Distribution
  • Call center scripting tool
  • Outbound IVR
  • Predictive dialer
  • Voicemail detection
  • Contact center dashboard

Solutions

  • Customer Service
  • Sales Teams
  • Debt Collection
  • AI and Automation
  • BPO
  • Retail
  • Financial Services
  • Banking
  • Insurance
  • Consumer Lending
  • Healthcare

Resources

  • Blog
  • Case Studies
  • Ebooks
  • Call Center Courses
  • Information Security
  • Learning Center
  • Download
  • Telco services
  • Call center KPI library

Company

  • About us
  • Why VCC Live
  • Careers
  • News
  • Partners
https://vcc.live/wp-content/uploads/2022/03/iso-cert-1-min.png https://vcc.live/wp-content/uploads/2022/03/iso-cert-2-min.png https://vcc.live/wp-content/uploads/2022/03/iso-cert-3-min.png https://vcc.live/wp-content/uploads/2025/04/SOC2-website-e1745483442463.png

Social Media

https://vcc.live/wp-content/uploads/2022/03/linkedin-footer.svg https://vcc.live/wp-content/uploads/2022/03/twitter-footer.svg https://vcc.live/wp-content/uploads/2022/03/facebook-footer.svg https://vcc.live/wp-content/uploads/2022/03/instagram-footer.svg

Call us

https://vcc.live/wp-content/uploads/2022/03/flag-hu.png Hungary
+36 19996400
https://vcc.live/wp-content/uploads/2022/03/flag-en.png UK
+44 2086380169
https://vcc.live/wp-content/uploads/2022/03/flag-de.png Germany
+49 3021782516
https://vcc.live/wp-content/uploads/2022/03/flag-pl.png Poland
+48 123950886
https://vcc.live/wp-content/uploads/2022/03/flag-ro.png Romania
+40 31706167
https://vcc.live/wp-content/uploads/2022/03/flag-usa.png USA
+1 3024988337
  • Privacy Policy
  • Cookie Policy
  • Legal Statement
  • General Terms of Agreement
  • Magyar nyelvű jogi dokumentumok
illustration