Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Version: Windchill 12.0
Use Case: I want to link latest (master) document to WTPart. I have to relate two types of documents to WTPart version specific and master document document. For this purpose I implemented WTPartDescribeLink and WTPartReferenceLink. The GET method was already available to retrieve the DescribedBy and ReferencedBy and I am looking to customize it for other methods like POST, PATCH and DELETE.
Description:
I have implemented the WTPartDescribeLink with the help of following ticket attached. I tested it after implementing it and it is working fine. CS285572 - How to create WTPartDescribeLink / WTPartReferenceLink using Windchill REST Services in Windchill PDMLink
Now I am trying the same approach to implement WTPartReferenceLink by modifying PartReferenceLink.js and PartReferenceLink.json files. I just followed the same as for WTPartDescribeLink. the only change was reference to master document as instructed "
attributes.add(new AttributeData("references", referencesOid.getRefObject().getMaster()));
" I have attached the modified files with this ticket. I deployed it and restarted the windchill server however it is not available in WRS.
I would be grateful if someone guide me with it or if someone has clue about it. To make clear, I have advance-beginner level knowledge and i am working on my thesis project.
Thank you in advance for your support.
Kind regards