EMC Developer Network

Launching the PDF Annotation Services from Webtop

January 2006

Software Environment

FeatureTested on
Operating SystemWindows 2000 Server SP4
CompilerSun JDK 1.4.2_08
RuntimeSun JRE 1.4.2_08
DFC5.3 SP1
WDK5.3 SP1
Webtop5.3 SP1
Content Server5.3 SP1

Abstract

This article shows how to add an action to Webtop to launch the PDF Annotation Services from the streamline view within the folder/browsing view and from within the inbox view.

Steps

The article assumes that you have installed PDF Annotation Services and configured it. Please refer to the PDF Annotation Services documentation for more details.

  • Create a file called dm_sysobject_action_list.xml in VIRTUAL_ROOT/custom/config/action folder and add the standard XML header to it. Copy-paste the following in it.

    
    
    <config version='1.0'>
       <scope type="dm_sysobject">
       
    
       </scope>
    </config>
    
    
    

  • Open the file VIRTUAL_ROOT/webcomponent/config/actions/dm_sysobject_actions.xml and select-copy the xml element <actionlist id="default"> including its contents. Paste this within the scope tag in the file created in the previous step.
  • In the file created in the first step, add the following <action> element within the actionlist, right before the <action id="checkout"> element.

    
    <action id="comment" nlsid="MSG_PAS_COMMENT" showifdisabled="true"/>
    
    

  • Copy the file VIRTUAL_ROOT/webcomponent/strings/com/documentum/webcomponent/GenericActionNlsProp.properties and paste it into VIRTUAL_ROOT/custom/strings/com/documentum/webcomponent/. Open the file and add the following NLS id to it -

    MSG_PAS_COMMENT=Comment
    

  • Save all files.
  • Refresh the WDK config definitions by calling the URL http://[SERVERNAME]:[PORT_NUM]/[VIRTUAL_ROOT]/wdk/refresh.jsp. Example, http://localhost:8080/webtop53sp1/wdk/refresh.jsp
  • Open webtop in the streamline view. The action should show up before the checkout action.

    folder/cabinet browsing

    Fig - Streamline folder/cabinet browsing



    Inbox view

    Fig - Inbox Attachment View