Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Version: Windchill 12.1
Use Case: Scenario is the bulk loading of document links seeing if this can be achieved through WRS or needs some customization.
Description:
Unable to find any OOTB WRS Services in Document Management Domain to achieve creating DocumentUsageLinks for linking of documents.
Hi @AS_14348618,
It needs to be customized.
Following is the API to create documentusagelink.
WTDocumentUsageLink.newWTDocumentUsageLink(document,documentMaster);Hi @AS_14348618 ,
By extending DocUses domain you can enable DocUsageLink creation, as of now it supports reading structure of documents.
Copy Paste DocumentUsageLink.json and js files to custom folder following same hierarchy then update json to include Create/Update actions
"operations":"CREATE,UPDATE,DELETE",
Use hook methods processAdditionalAttributes, saveObject to create link between objects
use below references
https://<windchill server>/Windchill/netmarkets/html/wrs/jsdoc/index.html
Hi @AS_14348618,
I wanted to see if you got the help you needed.
If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation.
Thanks,
Anurag
