TeamSite 6.5
Windows 2003
I am trying to add a link to the Content Center Standard interface File Actions menu that will invoke a new job on the particular file selected. The following code works correctly attaching the files in CC Pro, but strange things happen in CC Std.
This is the CC Pro customization:
<action-list id="iw.ccpro.file.action-list">
<menu id="cus.ccpro.file_actions.menu"
description="File or Directory Actions"
label="Actions"
titleImage="/base/images/icn_menuarrow.gif">
<separator id="cus.ccpro.file_actions.menu.separator5"/>
<link id="cus.ccpro.file_actions_process_file.link"
url="/newjob?iw_template_file=test/process_file.wft"
label="Process File"
target="_blank"
description="Process File"/>
</menu>
</action-list>
The above works great. the workflow is created and the file is attached, and the window is closed automatically.
However, in CC Standard I have tried to use the following customization, but when it opens in a new window, it has the CC Standard top header, injects the workflow into the center of window and adds Next >> and Cancel buttons at the bottom. The workflow job is created, but the files aren't added to the job (using the same wft that works above). The window isn't closed as it should be either.
<action-list id="iw.ccstd.list_directory.file_list.actionlist">
<menu id="iw.ccstd.list_directory.file_actions.menu">
<separator id="cus.ccstd.file_actions.menu.separator"/>
<link id="cus.ccstd.file_actions_process.link"
url="/newjob?iw_template_file=test/process_file.wft"
label="Process File"
target="_blank"
description="Process File"/>
</menu>
</action-list>
When the parameters are added to the URL via CC Standard it looks like:
http://teamsite65/iw-cc/newjob?iw_template_file=test/process.wft&done_page=/iw-cc/command/iw.ccstd.list_directory%3fvpath%3d//TEAMSITE65/default/main/Ajuba/en_US/WORKAREA/Ajuba_Internet/en_US/documents&full_redirect=true&vpath=//TEAMSITE65/default/main/Ajuba/en_US/WORKAREA/Ajuba_Internet/en_US/documents/StaffEngineer.docWhich is what is causing the problem on one hand, but is also what is to be expected. CC Standard adds properties to the url for done_page, full_redirect, and 2 vpaths. So, what we want to have happen is just to have the workflow created and the start task (which is a CGI) executed in the new window. However, the files aren't added, the CC Standard icon exists on the top of the page and the wizard like buttons appear on the bottom. I have attached a screenshot illustrating what happens for the simple snoop.jsp page (our first task).
Is this not possible in CC Standard via the newjob command to create a job and attach the selected file.
The alternative would be to just have the first task be a user task and have the user select the files manually. This is less desireable, but may be our only solution inside of CC Standard.
Anyone have any suggestions?