Difference between revisions of "Custom Form Actions"
From AgileApps Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 4: | Line 4: | ||
__TOC__ | __TOC__ | ||
==About Actions== | ==About Actions== | ||
An Action can | An ''Action'' presents a button the user can press to invoke either: | ||
* A [[Pages|page]] which is a standard JSP (JavaServer Page) page with custom user interface elements or an independent tab | :* A [[Pages|page]] which is a standard JSP (JavaServer Page) page with custom user interface elements or an independent tab | ||
* JavaScript that uses [[AJAX and REST]] to interact with the platform | :* JavaScript that uses [[AJAX and REST]] to interact with the platform | ||
:''Learn More:'' [[Manage Related Information]] | |||
: | |||
==Working with Actions== | ==Working with Actions== |
Revision as of 18:41, 6 June 2013
> Objects > {object} > Custom Form Actions
Custom actions are displayed as buttons the user can click when displaying data records.
About Actions
An Action presents a button the user can press to invoke either:
- A page which is a standard JSP (JavaServer Page) page with custom user interface elements or an independent tab
- JavaScript that uses AJAX and REST to interact with the platform
- Learn More: Manage Related Information
Working with Actions
Add an Action
To add an action:
- Click the Add Action button
- Fill in the Action settings
- Click [Save]
Edit an Action
To edit an action:
- Click the title of the action
- Click the [Edit] button
- Modify the Action settings.
- Click [Save]
Delete an Action
To delete an action:
- Click the title of the action
- Click the [Delete] button
Action Settings
Action Information section
- Name
- Unique name for the action
- Use alphanumeric characters and underscores
- Title
- Field display label
- Type
- Select the type of action:
- Invoke Page
- Select the page from the list
- Execute JavaScript (single-record action only)
- Invocation Point:
- Single Record: The action works on a single record
- Enabled - Uncheck this box to disable the action.
- JavaScript
- This section appears if Execute JavaScript was selected. Use it to enter the JavaScript.
- Use the Template Variable Tool that appears under it to get available Template Variables
Available to Roles section
Select the user Roles which can execute the action. The action button appears only for users in those roles.