DPT 配置的先决条件
以下是在 ThingWorx 中配置 Windchill Digital Product Traceability (DPT) Extension 所需的先决条件:
启用 ThingWorx 以允许导入 Windchill 扩展
必须启用 ThingWorx,才能导入 Windchill 扩展。
默认情况下,禁止所有用户在 ThingWorx 中导入扩展。要启用导入,请配置 platform-settings.json 文件。有关详情,请参阅 ThingWorx Platform 帮助中心plateform-settings.json 配置详情
1. 打开 platform-settings.json 文件。默认情况下,该文件位于 ThingworxPlatform 文件夹中。
2. 确保在 platform-settings.json 文件中添加以下 ExtensionPackageImportPolicy 参数,并将参数值设置为 true。此设置允许导入扩展。
"ExtensionPackageImportPolicy": {
"importEnabled": true,
"allowJarResources": true,
"allowJavascriptResources": true,
"allowCSSResources": true,
"allowJSONResources": true,
"allowWebAppResources": true,
"allowEntities": true,
"allowExtensibleEntities": true
},
* 
默认情况下,所有 ExtensionPackageImportPolicy 参数均设置为 false。建议在成功导入后将参数值从 true 更改为 false
有关平台设置和导入扩展的详情,请参阅 ThingWorx Platform 帮助中心platform-settings.json 配置详情导入扩展
3. 保存并关闭 platform-settings.json 文件。
允许在 ThingWorx 中添加 Windchill
必须将 Windchill 添加到 ThingWorx 的“允许列表”中。有关详情,请参阅 ThingWorx Platform 帮助中心的“允许在 iFrame 中嵌入的混搭”。
* 
有关支持的 ThingWorx 应用程序版本的说明,请参阅相应文档。
将 Windchill 添加为安全域
确保将 Windchill 服务器作为安全域添加到 OSLC 服务器的“允许列表”中。
Windchill 作为安全域添加到配置有 PTC RV&SPTC ModelerCodebeamerSiemens PolarionIBM Rational Doors NG 的 OSLC 服务器中,以便可以从 Windchill 访问委派接口。有关如何将应用程序添加为安全域的详情,请参阅参考文档网站中的 PTC RV&S OSLC Server (《PTC RV&S OSLC 服务器》) 指南 (12.3.0.0 及更高版本)、PTC Modeler 帮助中心的 OSLC integration with Integrity Modeler 以及 OSLC integration with IBM Rational DOORS Next Generation 主题。
* 
有关支持的 PTC RV&SPTC Modeler 应用程序版本的说明,请参阅本文档。
下载 Windchill_Digital_Product_Traceability_Bundle ZIP 文件
确保从 PTC.com 的 PTC 软件下载页面下载 Windchill_Digital_Product_Traceability_Bundle zip 文件。该 ZIP 文件可以在 Windchill PDMLink 产品系列下找到,具体内容包括:
1. Windchill_Digital_Product_Traceability-extension - Windchill DPT 扩展 ZIP 文件。
2. Windchill_Digital_Product_Traceability_Config_Things - 参考配置事物的 ZIP 文件。
* 
如果在浏览器中收到证书错误,请使用由受信任的证书颁发机构 (CA) 颁发和验证的标准 SSL 证书。如果您具有自签名证书,请在浏览器中将自签名证书作为受信任证书导入。
有关 DPT 扩展的配置详情,请参阅配置 Windchill DPT Extension
这对您有帮助吗?