Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: edits/style, syntax
Scripting_function


Panel
titleDescription

Return a list of Twilio accounts that have been configured in the Gateway as a single-column Dataset.

Client permissions restrictions


Panel
titleSyntax

system.twilio.getAccountsDataset()

  • Parameters

NoneNothing

  • Returns

Dataset A list of configured Twilio accounts as a single-column dataset.

  • Scope

Gateway, Vision Client, Perspective Session

Panel
titleCode Examples
Code Block
languagepy
titleCode Snippet
# Retrieves a list of Twilio accounts and then passes the data to a Table component's Datadata property.

# Call system.twilio.getAccountsDataset() and store the returned list into a variable.
twilioAccounts = system.twilio.getAccountsDataset()


# Pass the dataset to a Table component. The Table is located in the same container as the 
# component calling this script.
event.source.parent.getComponent('Table').data = twilioAccounts
Panel
titleKeywords

system twilio getAccountsDataset, twilio.getAccountsDataset