Configuring Entities in a Domain
Entities available in domains are configured by creating the following two files in the entity folder:
<Entity JSON>
<Entity JS>
The name of the <Entity JSON> file is the plural of the entity name, and has .json specified as extension in its file name. For example, Parts.json contains the configuration of the entity Part. Similarly, <Entity JS> file is the plural of the entity name, and has .js specified as extension in its file name.
The .json file specifies the structural properties, navigation properties, inheritance of Windchill functionality, bound functions, and bound actions of an entity. The .js file contains JavaScript implementation of the bound actions and functions of an entity, and also contains implementation of hooks provided by customizers to override or enhance framework processing logic for the entity.