Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello,
I want to know how we can implement listeners in Windchill.
I have never worked on listeners, so please guide me to a proper article to implement it from the scratch.
Thanks in advance.
Regards,
Hari R
Solved! Go to Solution.
Hi Hari,
There are an amount of article about listener in Knowledge article base
Here a link in help center where the presentation is helpful to understand basis.:
And some article :
and more...
As told by avillanueva some performance considerations has to be taken in account.
Hicham
Hello,
Its a pretty broad topic, so you may want to elaborate on specific requirement on which you are working. I would be happy to share my work and walk you through the customization which I did.
Feel feel to drop an email to karthik@teamspringg.com / ketan@teamspringg.com with details and we can take it from there.
Thanks,
Karthik
I have a few in production (rename listener, version modifier, DB sync). They are great but be careful about multiobject events. Example, we had issues with the rename listener (propagates name changes to related objects) when there were many objects in the set. I split the listener and action to a queue job which decouples the two. Listener just looks for valid cases, creates a queue job and allows the transaction it interrupted to proceed without error.
Hi Hari,
There are an amount of article about listener in Knowledge article base
Here a link in help center where the presentation is helpful to understand basis.:
And some article :
and more...
As told by avillanueva some performance considerations has to be taken in account.
Hicham