1 / 25

PTC Navigate & Thingworx based App Development

PTC Navigate & Thingworx based App Development. Preeti Gupta. Agenda. Thingworx Platform & Windchill Extension for Thingworx Development Windchill WebServices Thingworx Service Mashup Development Documentation Deployment PTC Navigate Project Planning Tips. Thingworx Platform.

lopezs
Télécharger la présentation

PTC Navigate & Thingworx based App Development

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PTC Navigate & Thingworx based App Development Preeti Gupta

  2. Agenda • Thingworx Platform & Windchill Extension for Thingworx • Development • Windchill WebServices • Thingworx Service • Mashup Development • Documentation • Deployment • PTC Navigate • Project Planning Tips

  3. Thingworx Platform • Modeling • Object Oriented approach( Java based platform ) • ThingShape (Interface) , ThingTemplate (Abstract Class), Thing (Class / Object) • User Interface • Very rich and Modern looking • Rapid application development environment • Graphic application builder

  4. Why Develop Windchill Apps in Thingworx • Much shorter development time ( PTC out of the box Restful Web service Infrastructure ) • Mobile applications • Modern architecture to integrate with business systems.

  5. How to Get Started • Software • Thingworx platform • PTC Windchill Extension (Thingworx Marketplace or PTC S/W site) • Windchill Patch for Thingworx Integration • Connect Thingworx Platform with Windchill • Both can exist in same environment ( Development environment)

  6. Out of the box Windchill Integration with Thingworx Platform Thingworx Platform (Latest 7.2) Windchill Environment (Support for 10.1 M040, 10.2, 11) PTC Windchill PLM Extension 11.0-M010-WCTWXExtension_05

  7. Installing Windchill Extension • Import Windchill Extension • Import Sample Mashups

  8. Windchill Extension • PTC-Windchill-Demo-Thing extends Windchill Connector • Click on Configuration to connect to Windchill -Windchill Side TrustedHost for Development Environment

  9. Windchill Connector

  10. Environments • Development Environment • Windchill users have to exist in Thingworx in development environments (wt.auth.trustedHosts ) • Production Environment • SSL • Single Sign On

  11. Ways to communicate to Windchill in Thingworx • RESTful End Point • Infoengine / SOAP based Webservices

  12. Accessing Out of the box Restful Services via Swagger • Enable Site Preference -> Client Customization set to yes.

  13. Example of Out of the Box Restful Web Service • Access and Test it via Swagger UI. ( Enable Customization in the Site -> Preferences) • Create a service in ptc-Windchill-Demo-Thing which will be calling Rest Endpoint in Windchill. • Once service is tested. We create Mashup to visualize the content.

  14. Windchill Data Visualization in Thingworx Thingworx Windchill 2 1 Create a service in PTC-Windchill-DemoThing to access RESTEndPoint Test RESTful Service in Swagger 3 Visualize the data in the Mashup

  15. Step 1 -Testing in Windchill Swagger UI

  16. In Thingworx Composer • Write a test service in PTC-Windchill-Demo Thing

  17. Visualizing in Mashup

  18. Writing your Own RESTful Web Service • PTC does not support adding your own RESTful web service in Windchill • Deployment Requirements • Java Class file deployment • Site.xconf changes • Why Rest? • Modern architecture. Built using server side Windchill Java API • Easy to debug and maintain • Payloads are JSON that are easy to parse in web clients • One Web Service can provide various resources vs several infoEngine calls to fetch the same information Windchill JAVA WebService Resource ( RESTEasy Framework) Register RESTFulWebservice resource in Rest.properties REST Endpoint Available in Windchill Swagger Thingworx Call REST Endpoints in Thingworx using ProcessJSONRequest service of Windchill Connector

  19. Few Examples of custom Restful Web Services in Swagger

  20. PTC Navigate View PLM Extension on Thingworx Platform Thingworx Platform (Latest 7.2) Windchill Environment (Support for 10.1 M040, 10.2, 11) -PTC Windchill Extension - Thingworx Utilities - PTC View Extension 11.0-M010-WCTWXExtension_05

  21. Adding Custom App In PTC Navigate

  22. Example of Infoengine and RESTful Webservice

  23. Documents & Training • PTC University courses for Thingworx • Infotable Document for Thingworx • https://community.thingworx.com/docs/DOC-2380

  24. Project Planning Tips • Learning curve – Developing in Thingworx composer environment vs Thingworx extension • Skills Required • Javascript • RESTful Service • Infoengine • Soap in Windchill

  25. Thank You Questions? Preeti_gupta1@outlook.com Or find me on PTC Community

More Related