Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
We are trying to read multi-valued attributes in Windchill through the odata API. However, Windchill only seems to return one of the values and does not compile it into a list. Any ideas if this can be resolved? Many thanks
Solved! Go to Solution.
Just in case someone meets the same issue : It's a bug, and it should be fixed in WRS 1.7
Try this to narrow down the issue. Find the query that was submitted to Windchill in one of the logs, such as the TWX application log or httpserver access log. Copy the request to a text editor, and remove the parameters that provided authentication such as sslClientAuth or wt.effectiveUserId. Paste the resulting URL into the address bar of a browser. If the edit removed the correct items, you should get a basic authentication pop up asking for username and password. Login normally. The browser should display the response as an XML or JSON formatted document, and list all the data returned from Windchill. You can use this to see whether it is Windchill truncating the list, or if a full list is returned to Thingworx and TWX only displays the first item from the list.
Many thanks for the response. I am reading the JSON directly from the API already and it only contains the first value, not the complete list. After some discussions we may end up not using this attribute so it is not critical for the project at the moment.
Just in case someone meets the same issue : It's a bug, and it should be fixed in WRS 1.7
Hi @ehalvordsson.
If one of the previous responses answered your question, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon