步驟 10. 啟用協定物件類型以供搜尋 - 選用
欲啟用「協定」物件類型以在簡易與進階搜尋中使用,請完成下列步驟:
1. 導覽至以下位置:
<Windchill>/codebase/com/ptc/windchill/enterprise/search/server
其中 <Windchill> 是您安裝 Windchill 解決方案的位置。
2. 將 SearchableTypes.properties.xconf 檔案複製到下列位置:
<Windchill>/wtSafeArea/ptcOrig/codebase/com/ptc/windchill/enterprise/search/server
及
<Windchill>/wtSafeArea/siteMod/codebase/com/ptc/windchill/enterprise/search/server
3. 在文字編輯器中開啟 <Windchill>/wtSafeArea/siteMod/codebase/com/ptc/windchill/enterprise/search/server/SearchableTypes.properties.xconf 檔案。
4. 在每個類別中,移除下列內容中的註解:
<!-- If security labels is enabled on your system then add
wt.access.agreement.AuthorizationAgreement to ProjectLink.userSearch:
<AddToProperty name="ProjectLink.userSearch" value=
"wt.access.agreement.AuthorizationAgreement"/>
-->
例如,
<!-- If security labels is enabled on your system then add
wt.access.agreement.AuthorizationAgreement to ProjectLink.userSearch:
<AddToProperty name="ProjectLink.userSearch" value=
"wt.access.agreement.AuthorizationAgreement"/>
-->
會變為
<!-- If security labels is enabled on your system then add
wt.access.agreement.AuthorizationAgreement to ProjectLink.userSearch:-->
<AddToProperty name="ProjectLink.userSearch" value=
"wt.access.agreement.AuthorizationAgreement"/>
5. 如果 AuthorizationAgreement 的名為 WindchillPDM.allSearch 的屬性不存在,請依照下列方式新增:
<Property name="WindchillPDM.allSearch" multivalued="," default=
”wt.access.agreement.AuthorizationAgreement"/>
6. 儲存並關閉。