This documentation relates to previous versions of Titanium Studio.

To see the latest documentation, visit docs.appcelerator.com.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

This section lists the available Controllers and Actions that the Studio expose via the Portal API.
Most of the samples here are also available, and fully functional, at the studio3-sdk.

Common Actions

The following is a common action that is available for all of the controllers.

List Actions

The listActions action allows a caller to list all the available actions for a specific controller.
For example:

Code Block
javascript
javascript
var availableActions = dispatch($H({
  controller : 'portal.browser',
  action : "listActions"
}).toJSON()).evalJSON();

You can use this to check the availability of a specific action before calling it.