Hpi 2.1 action conventions - tsgrp/HPI GitHub Wiki
How to add an action:
New Actions:
- Add actionId/filepath mapping to config-action.js
- Add registerAction call to the mynewaction.js file
At the bottom of your newaction.js include the registerAction call (see other action for example) Excluding actions Actions are grouped in config-actions and default is to include all groups To include a subset or custom groups add code to the top of your config-project.js
//client package
actions.myclient = {
myAction : "myclient/actions/myaction"
}
//only include base and myclient actions
activeActionPackages = ['base', 'myclient']
//or all plus myclient
//activeActionPackages.push('myclient')