Framework and General Capabilities
Windchill REST Services 12.0.2.23
Description
The following are the updates to the WRS framework and general capabilities:
• For entities available through containment navigation, the Location header in the response for CREATE or UPSERT (POST or PUT) requests now returns the correct read URL.
• You can now filter the results based on a set of values using the "in" operator.
• You can now filter ($filter on $count) on the count of collection properties such as structural properties and navigation properties.
• You can also expand the navigation property on a derived entity, with the expand option having a type-cast segment to the derived entity in the function results.
• You can now specify the life cycle template name when creating a life cycle managed object if allowed by the Object Initialization Rule (OIR).
• The GetConstraint function now returns the available life cycle template names for the specified container and entity type.
|
|
The LifeCycleTemplateName property is immutable. Once set, it cannot be updated using a PATCH request.
|
• You can expand the deep insert entities by specifying $expand in the request to return the related entities in the deep insert response.
• Relationship constraints are now checked and enforced when creating links through WRS. These constraints are defined in the Type and Attribute Management page.
• A new allowedPreferencesForEdmCacheReset property in wrs.properties.xconf is introduced to control the following specific set of preference updates:
◦ Expose Organization (Display_OrgID)
◦ Expose Organization for SUMA (Display_OrgID_SUMA)
◦ Expose Organization for Change Management Objects (Change_Mgmt_Objects_OrgID)
◦ Configurable Module Support (ENABLE_CONFIGURABLE_PARTS)
EDM will be reset only for these preference updates, rather than for every update. For instance, EDM should be reset when the Expose Organization preference is updated.
• A new property, renameDuplicateProperties, in wrs.properties.xconf is introduced to resolve conflicts between a new custom attribute and an out-of-the-box (OOTB) property name. The renameDuplicateProperties=true renames the custom property with “Duplicate” appended. The default value is true.
For example, if you define a custom attribute with the internal name LastModified on WTPart, it conflicts with the OOTB property LastModified on PTC.ProdMgmt.Part. Therefore, when the property renameDuplicateProperties is set to true, it renames custom the property LastModified to LastModifiedDuplicate.
Related Information