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 | ||||
---|---|---|---|---|
| ||||
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.