Windchill RV&S
使用 Windchill RV&S 動作可讓 ThingWorx Flow 工作流程在 Windchill RV&S 上存取及執行動作。
發行版本
8.4.1
支援的動作
支援的觸發器
沒有 Windchill RV&S 觸發器可用。
支援的連接器類型
OAuth
OAuth (指定的使用者)
OAuth (工作階段使用者)
先決條件 - 適用於 Windchill RV&S 12.3
1. 設定及配置 Windchill RV&S 12.3 伺服器。
2. <Windchill RV&S_Server_Directory>/data/rwsResourcesNameMapping.xml 檔案中,針對下列 target 欄位,修改 source 值,如下所示:
目標
來源
Live Item ID
LiveItemID
Major Version ID
MajorVersionID
Minor Version ID
MinorVersionID
「類型」
「類型」
Windchill RV&S 連接器的各種動作的欄位名稱將與 ResourcesNameMapping.xml 檔案中的 source 值相同。欲檢視這些動作的相應欄位名稱,您可以變更其他 target 欄位的 source 值。但是,請確保 source 值中沒有空格。
3. 執行下列端點:
https://<HOSTNAME>:<PORT>/rws/odata/ptc/ilm/resources/jsongenerators?updateformapping=true
您可以使用 HTTP 請求動作來執行端點。提供「連線 URL」以及管理員使用者的「使用者名稱」「密碼」,來新增「HTTP 基本」連接器。將「相對 URL」設定為啟動程式 API 端點 URL。如果並未將 Windchill RV&S 配置為使用 SSL/TLS,請將「SSL 憑證驗證」設定為 false;否則請將其設定為 true
* 
請注意下列幾點:
請確保每次更新 ResourcesNameMapping.xml 檔案時都執行此端點。
只要重新啟動伺服器,ResourcesNameMapping.xml 檔案會重設為原始檔案,且修改後的檔案會儲存為備份 ResourcesNameMapping.xml.bak
刪除 ResourcesNameMapping.xml 檔案,將 ResourcesNameMapping.xml.bak 重新命名為 ResourcesNameMapping.xml,然後再次執行該端點。
範例
欲瞭解您可以如何使用 Windchill RV&S 動作,請參閱範例:使用 Windchill RV&S 動作
這是否有幫助?