Developer Examples
The goal of the following examples is to provide a developer with the necessary basic knowledge about the major features provided by the WEX Framework. The Hello World example should be done the first, as it teaches how to set up the environment for developing Windchill Extensions, but following the order on the other ones is not mandatory.
The examples are held in our GitHub Repository, download them and you can build your examples extension.
Disclaimer: The following examples were created using NetBeans IDE. Some steps or configurations may vary depending on the IDE you choose. We recommend using NetBeans for the most accurate experience.
# | Example | What Does it Explain |
---|---|---|
1 | Hello World | How to build and deploy a WEX. Should be the starting point as it also teaches how to set up the developing environment. |
2 | Methods | The principles on calling methods from one WEX to another. |
3 | Logs | How to add logging into an extension's code. |
4 | Configuration | Adding a configuration UI to a WEX. |
5 | Diagnostics | Adding a Diagnostics UI to test an extension. |
6 | Listener | Adding a Windchill listener to check for events such as publishing or checking-in of objects. |
7 | Basic UI | Adding a localizable menu to bring up a simple web page. |
8 | Tables & Data Utilities | Creating and managing a Windchill table. |
9 | Wizard | Adding a standard Windchill wizard. |
10 | Tree | Adding a tree component. |
11 | REST | Adding a REST interface using the PTC framework. |
12 | Queues | Working with both process and schedule queues. |
13 | Features | Declaring and using WEX Features. |
14 | File | Loading files using the UI. |
15 | Resources | How to build resources. |
16 | Security | How to use the build security tools and analyze the results |
17 | Promotion Validators | Promotion Validators |
18 | Commons | How to create a commons share code library |