Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi,
I am looking for advice/direction on best practices when it comes to creating API Mappings and Services for custom mashups. For example, is it best to create these on the ptc-windchill-OData- connector or somewhere else. If created on ptc-windchill-OData-connector, what are the best practices in regards to import/export especially when moving from one version to another (e.g., 8.5.3 to 9.0)?
Any advice/guidance would be appreciated.
Thanks,
Roy
Solved! Go to Solution.
Hi Roy
PTC recommends using ODATA Connector and Windchill REST Services in order to execute Info*Engine tasks for Customization. Refer to Help Center topic : Executing Info*Engine services with the OData Connector
For information on how to export/import customization refer ThingWorx Navigate Upgrade guide for 9.0.
Regards,
Arshad
Hi Roy
PTC recommends using ODATA Connector and Windchill REST Services in order to execute Info*Engine tasks for Customization. Refer to Help Center topic : Executing Info*Engine services with the OData Connector
For information on how to export/import customization refer ThingWorx Navigate Upgrade guide for 9.0.
Regards,
Arshad
Arshad,
Got it - I will create a new ODataConnector Thing for Windchill REST Services and use that for my new services instead of ptc-windchill-OData-connector.
Thanks,
Roy
Roy,
separating your services on a dedicated connector is definitely best practice for easier deployments and upgrades.
If you are working with APIMaps, you'll have an additional challenge when deploying on other Thingworx systems. The APIMaps of all IntegrationConnectors are stored in the configuration of the Integration Subsystem. You can ex-and import the complete Integration Subsystem but this will not separate APIMaps for different connectors and solutions. I have created a IntegrationConnectorExpImpHelper Thing to address that (attached). It has two services:
As both services are no-arg services they can be called easily as pre-package and post-install services in a CI environment if needed. They are Javascript based so you can check out the code.
mvonhasselbach,
Thanks, this is just what I needed. I did have to create a new Data Shape based on the IntegrationConnectorExpImpHelper Import service JavaScript to get everything to work. The IntegrationConnectorAPIMapsDataShape Data Shape entity is attached for anyone that is looking to use your IntegrationConnectorExpImpHelper Thing.
Thanks,
Roy