cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Listener for attaching document as reference to the part

hpali
1-Newbie

Listener for attaching document as reference to the part

Hello Folks,

I worked on a listener which attaches a document to the part in "references" table.The scenario is once a document is attached ito a part as described by document then the same document should go to references table (of that part )also.

I used the POST_CHECKIN listener and it tells part cannot be checedout as this is not the latest iteration.I even obtained the working copy of teh part then tried to modify.

But this works only when the part is checkedout again not in the same checkout.

Any one has any idea on which listener i can use so that if a part is checked out to attach a document in described by then taht document should get attached in references also.

Message was edited by: Hemadri Pali

1 REPLY 1
cdragoi
1-Newbie
(To:hpali)

maybe try the wt.vc.wip.WorkInProgressServiceEvent.PRE_CHECKIN event?

Top Tags