Hi,
I'm trying to create menu items in webtop that will open a template (a partially filled word doc), save it and start a work flow.
I've got then menu items configured and working to a point:
- The user chooses a template from the menu.
- The template/word document opens locally, and I can fill it out, save it.
- It appears in the folder in a checked out state.
At this point, the way it should work is the user should check it in and it should start a workflow.
This last step doesn't seem to work.
For my menu I have:
| | | <menu name="dshw_basic_action_menu" value="DSHW"> |
| | | | <actionmenuitem dynamic='genericnoselect' |
| | | | | name='dshw_public_TrackNotification_menu_item' value='Track Notification' |
| | | | | action='dshw_Track_Notification_action' showifinvalid='true' /> |
| | | | <actionmenuitem dynamic='genericnoselect' name='dshw_public_SCO_menu_item' |
| | | | | value='SCO' action='dshw_sco_action' showifinvalid='true' /> |
| | | | <actionmenuitem dynamic='genericnoselect' name='dshw_public_emergency_permit_item' |
| | | | | value='Emergency Permit' action='dshw_emergency_permit_action' showifinvalid='true' /> |
| | | | <actionmenuitem dynamic='genericnoselect' name='dshw_basic_action_menu_item' |
| | | | | value='DSHW Outgoing' action='dshw_basic_action' showifinvalid='true' /> |
| | | | <actionmenuitem dynamic='genericnoselect' name='dshw_gen_letter_menu_item' |
| | | | | value='Gen Letter' action='dshw_General_Letter_action' |
| | | | | showifinvalid='true' /> |
| | | | <actionmenuitem dynamic='genericnoselect' |
| | | | | name='dshw_public_notice_menu_item' value='General Letter - No Attachment' |
| | | | | action='dshw_General_Cover_Letter_No_Att_action' showifinvalid='true' /> |
| | | | <actionmenuitem dynamic='genericnoselect' |
| | | | | name='dshw_hearing_statement_menu_item' value='Hearing Statement' |
| | | | | action='dshw_hearing_statement_action' showifinvalid='true' /> |
| | | | <actionmenuitem dynamic='genericnoselect' name='dshw_nov_sh_menu_item' |
| | | | | value='NOV Solid_Haz' action='dshw_nov_SH_action' showifinvalid='true' /> |
| | | | <actionmenuitem dynamic='genericnoselect' name='dshw_nov_used_oil_menu_item' |
| | | | | value='NOV Used Oil' action='dshw_nov_used_oil_action' |
| | | | | showifinvalid='true' /> |
| | | | <actionmenuitem dynamic='genericnoselect' |
| | | | | name='dshw_public_notice_menu_item' value='Pub Notice' |
| | | | | action='dshw_public_notice_action' showifinvalid='true' /> |
| | | | <actionmenuitem dynamic='genericnoselect' |
| | | | | name='dshw_public_notice_w_radio_menu_item' value='Pub Notice_radio' |
| | | | | action='dshw_public_notice_w_radio' showifinvalid='true' /> |
| | | | <actionmenuitem dynamic='genericnoselect' |
| | | | | name='dshw_public_notice_menu_item' value='SW Insp Letter' |
| | | | | action='dshw_sw_insp_letter_action' showifinvalid='true' /> |
For the actions:
<action id="dshw_General_Cover_Letter_No_Att_action">
<params>
<param name="objectId" required="true"></param>
</params>
<preconditions>
<precondition
class="com.documentum.webcomponent.library.actions.ImportPrecondition">
</precondition>
</preconditions>
<execution class="com.documentum.web.formext.action.LaunchComponent">
<component>dshw_General_Cover_letter_no_att_frm</component>
<container>dshwnewcontainer_general_cover_letter_no_att</container>
</execution>
</action>
and
<component id="dshw_General_Cover_letter_no_att_frm"
extends="dshwnew:custom/config/dshw_template/dshwnew_component.xml">
<templateName>Gen Cover Letter No Attachment</templateName>
</component>
For the container:
<scope>
<component id="dshwnewcontainer_general_cover_letter_no_att" extends="dshwnewcontainer:custom/config/dshw_template/dshwnewcontainer_component.xml">
<!-- Contained components -->
<contains>
<component requiresVisit='true'>dshw_General_Cover_letter_no_att_frm</component>
</contains>
<newcomponentname>dshw_General_Cover_letter_no_att_frm</newcomponentname>
</component>
</scope>
And this works except that no workflow is started after checking in the document.
Any help would be appreciated.