Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
Hi team
Is the CR field 'Long Description.Plain Text' available via ODATA?
It should show up in this:
domain.com/Windchill/netmarkets/html/wrs/doc.html
domain.com/Windchill/servlet/odata/v5/ChangeMgmt/ChangeRequests?$count=false
but I see only the old fields Name, Number, Description etc.
My program GETs this:
domain.com/Windchill/servlet/odata/v5/ChangeMgmt/ChangeRequests/PTC.ChangeMgmt.MS2ChangeRequest?$count=false&$select=Number,Name,Long%20Description.Plain%20Text,Long%20ProposedSolution.Plain%20Text,LastModified
The response is
400 {"error":{"code":null,"message":"The property 'Long', used in a query expression, is not defined in type
Do I need to customize the WRS fields? There was a PTC presentation on customizing WRS fields, but now I cannot find it.
thanks
Rick
There is 'How to create Custom Domain in Windchill Rest Services'
You should use attributes internal names = no spaces in names.
QueryBuilder allows me to add a field longDescription.formattedText or longDescription.plainText.
WRS does not:
domain.com/Windchill/servlet/odata/v5/ChangeMgmt/ChangeRequests?$select=longDescription.formattedText&$count=false
"error": { "code": null, "message": "The part 'longDescription.formattedText' is not defined." }
Nor can I 'expand' longDescription in WRS.
What I really want from WRS is the field longDescription.plainText.
cheers -- Rick