cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Gathering objects from Windchill using PTC Navigate / Windchill Extension

Highlighted
Level 9

Gathering objects from Windchill using PTC Navigate / Windchill Extension

Hello community,

So I have two questions regarding the Navigate / Windchill Extension matter. PTC Navigate 1.3, Thingworx 7.1.

  1. When I'm gathering all objects of specific type, e.g. all libraries using Windchill REST API, it returns me a set with libraries that are invisible for my user in Windchill - can it be a bug?
  2. What is the set of attributes available to be used in the OData $filter parameter? Because it work e.g. for containerReference, but it does not work for versionInfo.identifier.versionId. I'd like to filter WTDocuments by custom attribute and it seems to be not possible?

Any help appreciated.

Regards,

J.

2 REPLIES 2

Re: Gathering objects from Windchill using PTC Navigate / Windchill Extension

Hi Jakub,

I'm a beginner in Windchill Extension, hope my answers are relevant. For your first question i think since we're using the Administrator's credentials for the Windchill Integration Connector maybe that's why it returns all the data. For the second one the input format for filters are for example

" name EQ 'partname' ",  you can refer this "Query Parameter for Query Services"guide.

Regards,

Saran

Re: Gathering objects from Windchill using PTC Navigate / Windchill Extension

Hello,

I am not sure still you are looking for an answer.

I too faced same issue and found related information under NonFilterableProperties by looking at respective domain metadata. You can see Version in the list.

Additionally you can look at the list of properties under each entity to get the list of searchable attributes.

 

https://<Windchill server>/Windchill/servlet/odata/<Domain>/$metadata

 

<PropertyValue Property="NonFilterableProperties">
<Collection>
<String>GeneralStatus</String>
<String>VersionID</String>
<String>ChangeStatus</String>
<String>CheckOutStatus</String>
<String>LifeCycleTemplateName</String>
<String>Version</String>
<String>CabinetName</String>
<String>ShareStatus</String>
<String>FolderLocation</String>
<String>ID</String>
<String>Identity</String>
<String>FolderName</String>
</Collection>
</PropertyValue>

 

BR,

Vino

Tags (1)