Skip to main content
15-Moonstone
April 22, 2021
Question

Delete previous Document version on Release

  • April 22, 2021
  • 1 reply
  • 761 views

Hi, we have an unusual scenario where we do not keep copies of old documentation, for "legal reasons". Currently document management is done on shared drive, I want to move this documentation into Windchill and version control it and release through workflows etc etc. But we cant keep primary content or attachments in previous versions. So, is there a way that we could trigger the previous versions primary content to be deleted after a new version is released, or just delete the previous version completely?

1 reply

16-Pearl
April 22, 2021

Hi ,

 

This is possible through customization in Windchill. Upon release , we will call a custom class. This custom class either deletes the primary/secondary content or deletes the document version(Both possible based on requirement). 

 

Kindly let me know if you need more information.

 

Regards

Ajit