Basic Customization > User Interface Customization > Adding Actions and Hooking Them Up in the UI > Action Framework for Windchill Client Architecture > Defining a New Action > action Tag
  
action Tag
The action name is a unique identifier for an action within the context of the object type. The object type in conjunction with the action name make the action unique within the system.
By default, the action name corresponds to the name of a JSP within the package named for the object type. The packaging is relative to codebase/netmarkets/jsp. For example, the action name in the XML example above is “create.” Within the document object type, this corresponds to codebase/netmarkets/jsp/document/create.jsp.
Naming conventions for the name of an action can be any combination of alpha-numeric characters.
* 
PTC recommends that all your custom actions have a prefix specific to your company to prevent collisions with names of actions delivered with the product.
The table below describes the valid parameters for action. Details about these parameters can also be found in codebase/config/actions/actions.dtd:
Parameter
Default Value
Possible Values
Req?
Description
name
Yes
This is the name by which the action is referenced
cad
false
true
No
Indicates if this action is only valid within the Creo embedded browser
installType
WINDCHILL
PDM
PDM
PJL
PDM
No
Applicable actions based on the installed components. This is for legacy purposes only.
multiselect
false
false / true
No
Used to indicate that multi-selection of row data can be used for this action. This is true only if the selectRequired attribute is also set to true for such an action.
selectRequired
false
false / true
No
Determines if the user interface should allow the action to proceed if nothing has been selected. Otherwise, an error message appears.
* 
If an onClick action handler is defined, the onClick function must check if items are selected. To do this, call the JavaScript function table.getSelectionModel().hasSelection()
afterJS
No
JavaScript function name to invoke on the client side validation for an action window step after the step is completed.
beforeJS
No
JavaScript function name to invoke on the client side validation for an action window step after the step is loaded
afterVK
No
Server validator name to invoke client side validation for an action window step after it is finished.
beforeVK
No
Server validator name to invoke client side validation for an action window step when the step is loaded.
id
objecttype .action
No
Overrides the ID of the action window step.
preloadWizard Page
true
false
true
No
Specifies that the action window step is to be downloaded when the action window is launched
hidden
false
false
true
No
An action window step to be hidden first, or that an action is rendered as non-clickable
required
false
false
true
No
Used for an action that represents a complete step in the action window. Specifies that the step is required.
resourceBundle
No
Class name for the resource bundle to use for the properties of the actions that are to be localized
renderType
PDM
No
Default
http://<host> /<webapp>
General:
http://<host> /<webapp> <command.method>
General with context:
http://<host> /<webapp> <command.method> ?oid=...
PDM: URL generated by URLactionDelegate; used for template processing
uicomponent
No
References an entry in roleaccessprefs.xml (uic.name) to specify role-based access.
preloadJS
No
The JavaScript function executed before an action window step is loaded or displayed.
postloadJS
No
The JavaScript function is executed after an action window step is loaded into memory, but before it is displayed to the user.