如何建立 XPage 小工具?
您可以建立一個小工具,使用預設值、選定的即時文字或其他選定的文字來搜尋 HCL Notes ® XPages。您也可以使用此精靈開啟目標 XPage。
關於這個任務
您可以啟動設定精靈,從在Notes ®用戶端中執行的 XPages 應用程式建立新的Notes ®小工具,如下所示。
注意:對於透過 Web 瀏覽器執行的 XPages 應用程序,請使用 Web Page 小工具。
注意:如果您使用Notes ® ,請使用嵌入式 Web 瀏覽器。
程序
- 開啟作為小工具基礎的目標 XPages 應用程式。注意:若要從預設值或即時文字搜尋 XPages 應用程序,請在應用程式內部執行搜尋並從搜尋結果頁面配置小工具。
- 按一下「從目前上下文配置小組件」工具列按鈕啟動精靈。注意:如果使用本機 XPages 應用程式作為視窗小工具來源,則該視窗小工具將無法在Notes ®漫遊使用者上下文中發揮作用,也無法讓您透過電子郵件或發佈到視窗小工具目錄與之共用的其他使用者發揮作用。
- 選擇一個配置選項。
- 對此 XPage 執行全文搜尋– 這將根據 was 執行的搜尋建立一個小工具,該小工具將開啟 XPages 應用程式並預設為預設的搜尋值或接受要查詢的即時文字搜尋值。這僅當從搜尋結果頁面配置小工具時才會出現。
- 開啟此 XPage – 這將建立一個小工具,用於開啟目前正在查看的特定 XPage。除了新分頁或視窗之外,這還提供了將 XPages 應用程式新增至Notes ®側邊欄的簡單方法。
- 開啟 Notes 物件– 使用預設的Notes ® URL,例如 notes://mydominoserver/XPagesDiscussion1.nsf/allDocuments.xsp?OpenXPage 或選擇指定其他值。
- 點擊下一步。
- Specify a widget name or accept the default.
- Specify what you want to do with the widget and click Next.
- Wire as an action – This is available
if you selected Perform a full text search on this XPage.Note: Clicking this option opens a list of available widget properties that you can configure to be wireable from the Advanced tab.
- Configure – Enable to make the property wireable.
- Require – Enable to require that the field must be used in the action.
- Default value – Specify a default value.
- Display as a Panel – This adds the widget in its current form as its own sidebar panel and as a widget in the My Widgets sidebar panel.
- Just configure a widget for now – This adds the widget in its current form to the My Widgets sidebar panel, where you can then publish it to the catalog.
Note: The "Wire an action to configure a widget" dialog prompts you to specify whether to use recognized content or other content, specify the content (type) and then wire a Content type property to a Widget property. Entries in the Content type property field are derived from the selected content (type), which is the field next to the New Recognizer button. Entries in the Widget property field are derived from the fields you selected on the previous "Configure a widget" dialog. See "How do I wire a widget action" for related information. - Wire as an action – This is available
if you selected Perform a full text search on this XPage.
- Click Next to view the Test and Publish panel instructions and then Finish to create the widget and close the wizard.