Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.1
I am trying to configure my system so that a representation is published when an object changes state, but NOT when it is simply moved. We currently have a working set up with publish.republishonepmdocumentchange=true, publish.publishonepmdocumentchange=true. We have a Java program that is called whenever there is a new representation. Our problem is that it is triggered BOTH by state changes and by move (and rename) actions, which is undesirable for us. It is very clear in article CS74977 that state changes, renames and moves are treated the same way. What we would like is for them to be separated, so that we could invoke different listeners (AfterLoaders or whatever you want to call them) depending on which action was the actual trigger.
There is no settings to differentiate Move/Rename/state change in the out of the box of Windchill.
you will have to implement a custom listeners on the needed events and then publish using API ,something like CS238377.
Hello SL_10765673,
You encountered unexpected behavior while using Windchill, thanks for reaching out.
This is Charles from PTC Technical Support in Europe: Was the information provided helpful somehow?
KR,
Charles.