自訂 Web 組件配置
您可以編輯 Connector Services web.config 檔,以自訂 IBM FileNet Connector for SharePoint Web Parts 應用程式的配置。web.config 檔是網站的配置檔。其位於下列 rootConnector Services 安裝位置:
<SharePoint_install_drive>\Inetpub\wwwroot\wss\VirtualDirectories\.
web.config 檔是以 UTF-8 編碼的檔案。當您編輯檔案時,您必須將檔案另存成 UTF-8,以保留編碼。
下表列示一些您可以在 web.config 檔中自訂的索引鍵。
鍵 | 定義 |
---|---|
FileNetMetaDataCacheTimeoutValue | <add key="FileNetMetaDataCacheTimeoutValue" value="14400000" />
使用此索引鍵以指定擷取自 Content Engine 伺服器的類別定義 meta 資料,要保留在用戶端快取中的時間上限(毫秒)。如果您未設定此索引鍵的值,則 Connector Services 會使用 Content Engine API 所設定的預設值:Content Engine 4.0 版伺服器為 5 分鐘,Content Engine 4.5 版伺服器則為 10 小時。 此索引鍵位於 web.config 檔中的 appSettings 區段中。 |
FileNetEventLogThrottle | <add key="FileNetEventLogThrottle" value="Information"/> 使用此索引鍵以指定要寫入 Windows 應用程式事件日誌中的事件層次。您可以將此索引鍵設成下列其中一值:
若未設定此索引鍵,則會僅記載錯誤訊息。 此索引鍵位於 web.config 檔中的 appSettings 區段中。 |
FileNetTraceLogThrottle | <add key="FileNetTraceLogThrottle" value="Information"/> 使用此索引鍵以指定要寫入 SharePoint Unified Logging Service (ULS) 日誌中的事件層次。您可以將此索引鍵設成下列其中一值:
若未設定此索引鍵,則會僅記載錯誤訊息。 此索引鍵位於 web.config 檔中的 appSettings 區段中。 |
意見