Community Tip - You can change your system assigned username to something more personal in your community settings. 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
Solved! Go to Solution.
Hi, I implemented these hooks, I have attached the files. You can follow the instructions from ticket #CS285572.
Were you ever able to get this working? I am running into the same issue. If you did I'd love if you could share the working files you have!
Not being a Java developer, I also don't know how I would be able to figure this out. Is there some IDE that can be used to see all methods available or similar? I'm just using Notepad++ at this point. No idea if anything I'm writing is even valid!
Hi, I implemented these hooks, I have attached the files. You can follow the instructions from ticket #CS285572.