Adding an Action to an OOTB Action Model
|
You can define customizations for multiple OOTB action models in the same file.
|
2. Add an entry for the action with the following details.
◦ Action name: The name of the new action must be unique within the list of actions or submodel for the given model. You can use the action model report to look at the existing list for this action model. For more information, see
Action Model Reports.
For complete solution element and modular structure, see
Adding Custom Action.
Sample Code
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE actionmodels SYSTEM "customActionmodels.dtd">
<actionmodels>
<!-- OOTB action model -->
<model name="psbDescribedByDocsToolBar" incremental="">
<action name="partAddDescribedByDoc" type="psb"
insertBeforeActionName="psbAddDescribedByDoc"
insertBeforeObjectType="psb" />
<action name="partCreateDescribedByDoc"
insertAfterActionName="psbCreateDescribedByDoc"
insertAfterObjectType="psb" type="psb" />
</model>
</actionmodels>