Customization > Customizing Windchill REST Services
Customizing Windchill REST Services
Windchill REST Services support customizations for creating new custom domains or extending a PTC domain. Additionally, all supported customizations for Windchill, such as adding a custom data utility, service delegate, Java resource bundle are also supported in WRS.
For more information, refer to the “Customizing Domains” section in the Windchill REST Services help.
Solution Elements
Element
Type
Description
custom.site.xconf
XCONF
XCONF file to update OOTB properties in WRS.
<javaClassName>.java
For example: ODataHelperMethods.java
Java
Java file to define custom data utilities, Java resource bundles or any other java helpers.
acmeResource.rbInfo
RBINFO
Resource bundle file to store string or enumeration resource information.
odata.properties
Properties
Properties file in the OData framework that is not managed by the XCONF mechanism of Windchill.
<fileName>.json
For example: ProblemReports.json
JSON
JSON file to define OData entities.
<fileName>.js
For example: ProblemReports.js
Java Script
Java script file to define OData functions, actions.
Modular Structure for Customization
<customizationRootDirectory>
├── configurations
│   ├── resources
│   │   └── com
│   │   └── ptc
│   │   └── odata
│   │   └── core
│   │   └── odata.properties
│   └── xconf
│   └── custom.site.xconf
└── <moduleName>
├── descriptor.xml
└── main
├── resources
│   └── rest
│   └── custom
│   ├── doc
│   │   ├── config.customDomain.json
│   │   └── doc.v1.customDomain.json
│   └── domain
│   └── customDomain
│   ├── customDomain.json
│   └── v1
│   ├── entity
│   │   ├── ProblemReports.js
│   │   └── ProblemReports.json
│   └── import.json
├── src
│   └── com
│   └── acme
│   └── rest
│   ├── resources
│   │   └── acmeResource.rbInfo
│   └── util
│   └── ODataHelperMethods.java
├── src_web
│   └── netmarkets
│   └── html
│   └── wrs
│   └── catalog
│   └── customDomain.html
└── xconf
└── customProperty.xconf
Deploy Customization on Development Environment
For information on the CCD process for deployment, see Deploy Your Customizations on Your Development Environment.
Prepare CCD Package for Promotion
For information on the CCD process for promotion, see Deploying Code and Configuration Package.
Was this helpful?