對於可以從蹦現功能表或從 IBM® FileNet® Workplace XT 的瀏覽和搜尋模式存取的物件,應用程式會提供一組作業或動作,供一般使用者對特定物件類型執行。例如,文件物件可用的動作包括移出、下載、變更為複合及移動;若為資料夾物件,則包括新增物件、移動和刪除。
身為管理者,您可以針對出現在 Workplace XT 使用者介面中的物件,自訂可執行的動作。 您也可以執行外觀上的變更,例如從使用者介面完全移除動作。您也可以使用過濾準則,定義出現動作的條件。例如,您可以定義下載動作只在使用者按一下特定類別說明、版本狀態和內容類型的文件時才出現。
本主題指出 Workplace XT 介面中向使用者顯示動作的位置, 並說明您可用來配置那些動作的功能表動作描述子 XML 檔。
<object key="
" version="1.0">
...
<array key=" ">
<value>download</value>
<value>checkout</value>
<value>cancelCheckout</value>
<value>file</value>
<value>delete</value>
<value>assignSecurityPolicy</value>
<value>sendMail</value>
</array>
<array key=" ">
<value>download</value>
<value>checkout</value>
<value>quickCheckin</value>
<value>cancelCheckout</value>
<value>addToFavorites</value>
<value>infoProperties</value>
<value>sendMail</value>
</array>
<array key=" ">
<value>addDocument</value>
<value>addFolder</value>
</array>
<array key=" ">
<value>view</value> <!-- for documents, publish templates -->
<value>open</value> <!-- for folders, searches, object stores -->
<value>download</value>
<value>checkout</value>
<value>quickCheckin</value>
<value>cancelCheckout</value>
<value>addToFavorites</value>
<value>removeFavorite</value>
<value>renameFavorite</value>
<value>sendMail</value>
<value>launch</value>
<value>transfer</value>
<value>addSubscription</value>
<value>declareAsRecord</value>
<value>declareVersionsAsRecord</value>
<value>testFormTemplate</value>
<value>modifyDocumentPolicy</value>
<value>modifyWorkflowPolicy</value>
<value>takeOffline</value>
<value>modifyEntryTemplate</value>
<value>modifyRecordEntryTemplate</value>
<!-- RM changes start-->
<value>requestchargeout</value>
<value>viewDocumentInfo</value>
<!-- RM changes end -->
<value>infoProperties</value>
<value>moreInformation</value>
<value>documentActions</value>
<value>folderActions</value>
<!-- always in the end -->
<value>addDocument</value>
<value>addFolder</value>
</array>
<list key=" ">
...
<object key=" ">
<setting key="id">download</setting>
<setting key="title" localizationKey="server.MenuActions_xml.download">Download...</setting>
<setting key="url">
getContent?
mode=download&
objectType={OBJECT_TYPE}&
id={OBJECT_ID}&
vsId={VERSION_SERIES_ID}&
objectStoreName={OBJECT_STORE_NAME}&
returnUrl={RETURN_URL}
</setting>
<setting key="multiSelectURL">
operations/WcmMultiDownloadObject.jsp?
returnUrl={RETURN_URL}
</setting>
<setting key="img">images/action/toolbar/Download23.gif</setting>
<array key="objectTypes">
<value>document</value>
</array>
<array key="excludedContentTypes">
<!--RM Change start -->
<value>application/x-filenet-rm-physicalrecord</value>
<value>application/x-filenet-rm-electronicrecord</value>
<value>application/x-filenet-rm-emailrecord</value>
<!-- RM Change ends -->
<!-- entry template mime types -->
<value>application/x-filenet-entrytemplate</value>
<value>application/x-filenet-documententrytemplate</value>
<value>application/x-filenet-folderentrytemplate</value>
<value>application/x-filenet-customobjectentrytemplate</value>
<value>application/x-filenet-formdataentrytemplate</value>
<value>application/x-filenet-declarerecordentrytemplate</value>
<value>application/x-filenet-pageentrytemplate</value>
<value>application/x-filenet-sectionentrytemplate</value>
<value>application/x-filenet-cfwpageentrytemplate</value>
<value>application/x-filenet-cfwsectionentrytemplate</value>
<value>application/x-filenet-cfwtextentrytemplate</value>
<value>application/x-filenet-localsectionentrytemplate</value>
<!-- wcm mime types -->
<value>application/x-filenet-sp-cr</value>
<value>application/x-filenet-sp-target</value>
<value>application/x-filenet-sp-page</value>
<value>application/x-filenet-sp-section</value>
<!-- Form policies -->
<value>application/x-filenet-documentpolicy</value>
<value>application/x-filenet-workflowpolicy</value>
<!-- external documents (pointing to an URL) -->
<value>application/x-filenet-external</value>
</array>
<setting key="isPopup">false</setting>
<setting key="popupHeight">600</setting>
<setting key="popupWidth">750</setting>
</object>