cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Adding list items to ChangeRequests actions menu

BrianGeary
7-Bedrock

Adding list items to ChangeRequests actions menu

I'm looking for an example of how to add links to the actions menu for a
Change Request in PDMLink 9.1. In PDMLink 8.0 I used a combination of
NavigationsAndActions.xml, *ActionDelegate.java, *URLActionDelegate.java
and rbInfo files to accomplish this, but all that has changed in 9.1.
Anyone willing to share this tidbit of info?

As an example, I'm trying to add the "Baseline Report" item as shown below
that will simply open a JSP page in a popup window.

Thanks,

Brian Geary
R&D Systems Analyst
Herman Miller, Inc.
Office: (616) 654-8993
Mobile: (616) 796-5257


8.0 Actions menu:


9.1 Actions menu:

1 REPLY 1

Hi Brian

9.1 actions are managed by wt_home\codebase\config\actions\*actions.xml and
*actionmodels.xml. For adding a link to ECR, take a look at
ChangeManagement-actionModels.xml and search for name="more change request
row actions". Copy the entire XML node and paste it to
custom-actionModels.xml and add your link action something like

<action name="baselinereport" type="hm"/">.



Within custom-actions.xml define the action "baselinereport" like this



<objecttype name="hm" class="" resourcebundle="hm.customRB">

<action name="baselinereport">

<command windowtype="popup"/">

</action>

</objecttype>



In customRB, define the RB values for baselinereport. Upon clicking on the
link, a jsp page codebase/netmarkets/jsp/hm/baselinereport.jsp will popup.
Above stated are higher level details and there are variety ways to
configure actions.xml elements. One can refer Customization manual for more
details.



HTH



Thank you and have a great time.

Best Regards

Swamy Senthil

Principal Solutions Architect

973 216 0456(M); 973 324 2729(W); 866 908 6561(F)

swamy.senthil@swasen.com

Swasen Inc (
Announcements


Top Tags