Skip to main content
22-Sapphire I
July 7, 2016
Question

Rename chaos

  • July 7, 2016
  • 1 reply
  • 1263 views

We have manual numbering in effect.

Currently dealing with a zillion mis-matches between CAD Doc Number and Filename, primarily from users Renaming in Workspace and trying to prevent mismatches in the future..

Found this article and would like to implement: https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS130857&art_lang=en&posno=2&q=name%20match%20number&ProductFam…

note: The article lists making "Name" same as filename and Number.  We'd like to exclude Name and allow it to remain as descriptive words.

Anyone care to volunteer more info on how to "implement a listener" in general?

thx

1 reply

1-Visitor
July 8, 2016

PFA listern for Renaming. compile attached java  classes and register listener with in wt.properties with below command

Xconfmanager –s wt.services.service.660002=ext.sra.listener.ListenService/ext.sra.listener.StandardRenameListenService –t codebase\wt.peroperties –p

you can modify criteria as per your requirement.

Let me know if you need more details

Hope it helps!!

Thanks

Shreyas