Windchill REST Services Framework Capabilities > Windchill REST Services Properties
Windchill REST Services Properties
The WRS properties control the WRS behavior. The xconfmanager utility manages these properties. You can set properties in the wrs.properties.xconf file located in WT_HOME/codebase/com/ptc/odata/windchill.
multipleValuesInStringDelimiter
Default
|
Synopsis
Defines the delimiter used in PTC.MultipleAliasAttributeValues and PTC.MultipleCalculatedAttributeValues annotations.
Description
This is used only for entities with softAttributable version 4 and earlier. The softAttributable version 5 and later no longer use the annotation. For more information, see Version Changes in Domains for Windchill REST Services 2.6 and PTC Annotations.
disableAuthenticatedContentUrl
Default
false
Synopsis
Indicates whether the link requires authentication (default) or just a signed token (old behavior) for content download links.
Description
When set to false, the link requires authentication for content download links.
When set to true, the link requires a signed token (old behavior) for content download links.
* 
It is recommended to keep the default behavior and use authenticated URLs when downloading content.
disableCommonPropertyValidation
Default
false
Synopsis
Controls PATCH requests to update the Common properties.
Description
When set to true, allows PATCH requests to update the Common properties.
* 
The properties marked as Common must be updated using the UpdateCommonProperties action.
disableSecureInfoProcessingOnProperties
Default
false
Synopsis
Controls the addition of the PTC.AccessException annotation to a property.
Description
When set to false, adds the PTC.AccessException annotation to a property if the user has insufficient permissions.
When set to true, disables the second-pass processing during serialization. Therefore, the PTC.AccessException annotation will not be present in the response. It improves performances in some circumstances. When the property is set to true, it does not pose any security risk and does not affect access control.
* 
While it can improve performances, the client will not be able to know whether the property is null because it is not accessible or because it has no value.
asynchronousResponseCleanupInterval
Default
10 minutes
Synopsis
Controls the frequency of deleting the stale asynchronous responses.
Description
Provides ability to control the frequency of deleting the stale asynchronous responses. You can adjust the clean-up interval to suit your system usage.
allowedPreferencesForEdmCacheReset
Default
Display_OrgID, Display_OrgID_SUMA, Display_Change_Mgmt_Objects_OrgID, ENABLE_CONFIGURABLE_PARTS
Synopsis
Comma-delimited list of preference keys that are allowed to reset the Entity Data Model cache.
Description
Comma-delimited list of preference keys that are allowed to reset the Entity Data Model cache. For more information, see Entity Data Model of a Domain.
* 
EDM should be reset when the Expose Organization preference is updated.
renameDuplicateProperties
Default
true
Synopsis
Prevents conflicts between a new custom attribute and an out-of-the-box (OOTB) property name by appending “Duplicate” to the custom property name.
Description
When a custom attribute that results in a conflict with the existing out-of-the-box property name, then renameDuplicateProperties=true renames the custom property with “Duplicate” appended.
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 the custom property LastModified to LastModifiedDuplicate.
* 
If you have a custom structural property with the same name as an OOTB navigation property, such as "Context", refer to the Extending Document Management Domain to Add a Soft Attribute topic. Follow the steps given here to add your custom attribute using a different property name.
* 
You can disable this new behavior by setting renameDuplicateProperties=false in wrs.properties.xconf. However, this may lead to unexpected behavior. It is recommended keep this property set to true.
War dies hilfreich?