Action Reports
Action reports provide details on the actions used in the Windchill UI to launch wizards and execute operations. Such details include the action label, action name, the Java class used to validate whether the action is available to the user, the file in which the action is defined, and many others. Action reports also enable you to modify the label and tool tip of an action.
Reports may be generated for any action managed by the StandardNmActionService.
Report Location
From the Navigator browse to Customization > Tools > Action
Generating an Action Report
Search for the action whose details you desire using the search criteria on the Action Report page:
Search supports:
Multiple search parameters
Regular expressions
Case-insensitive matching
Search Examples:
For Label (aka Description):
remove ==> Matches: "remove", "list_delete", "related_delete_described_part", etc.
For Action Name :
remov.* ==> Matches: "remove", "remove_deliverable", "removeUses", etc.
r[a-z]* ==> Matches: "reply", "REVISEITEMS", "reassignLC", etc.
.*move ==> Matches: "remove", "CONTAINERMOVE", "WFMOVE", etc.
.* ==> Matches: everything
For Hot Key:
m ==> Matches: "home"
.* ==> Matches: "home", "productStructure", "documentStructure", etc.
For Action Model File/Action Definition File:
Files must be located under <Windchill>\codebase\config\actions
You only need to specify the file name in the search criteria, not the file path. For example, BaselineClient.* ==> Matches: <Windchill>\codebase\config\actions\BaselineClient-actions.xml
Some matches may be deceiving due to include tags in xml files
Once you have entered your search criteria, click Search to display the matching actions:
To display the full action report for one of the displayed actions, click the icon for it:
Use the Actions menu to copy an action to another action model.
Persist the user changes in a new location (coming from wt.properties) and change in framework to give precedence to these new persisted files. The modified action changes are saved to xml.
Specify the name of the XML file that contains custom actions in the property com.ptc.netmarkets.util.misc.customActions. You can add multiple comma-separated file names for each module. Each file name should be specified along with its path.
For example: com.ptc.netmarkets.util.misc.customActions=config\actions\myCustom\myCustomActions.xml
If the property is not specified, user changes would be persisted in <wt-codebase>\config\actions\custom-actions.xml
Troubleshooting
Search returning "No Objects to Display": If the method server is restarted after a search has already been attempted, another search will return "No Objects to Display" no matter what you search for. This is due to the fact that the page relies on a session variable to get the information from the method server. To fix this problem, simply restart your browser.
Wrong Definition File? Some matches may be deceiving due to include tags in xml files. Check the included files to find your particular actions.
War dies hilfreich?