Skip to main content
4-Participant
October 20, 2025
Question

Expose endpoints to create relationships with WTDocuments (similar to Article - CS285572)

  • October 20, 2025
  • 1 reply
  • 245 views

Version: Windchill 12.1

 

Use Case: Our users want to use the WRS via scripting to create relationships with WTDocuments like those available in the UI.


Description:

We used Article CS285572 to implement WRS customization that allow users to create WTPartDescribeLink between WTPart and WTDocument using REST Service(OData).  We need similar directions for WTDocuments so that our users have the ability to create the same relationships with WTDocument via REST that are available in the UI.      

 

1 reply

Fadel
23-Emerald I
October 20, 2025

you should develop the same as in article CS285572  but the link is wt.doc.WTDocumentDependencyLink  with navigations describes  anddescribedBy 

Buiꓘa
ASugarek4-ParticipantAuthor
4-Participant
October 23, 2025

Thanks, Fadel!  It is my understanding that WTPart is based on linking masters and WTDocument is linking versions. Does this change anything in the code for exposing the endpoints?