Event Type when renaming or editting common attributes?
‎Feb 20, 2013
03:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Feb 20, 2013
03:44 PM
Event Type when renaming or editting common attributes?
I'm working on an event handler that will check when a part has it's 'Common Attributes' updated. Has anybody figured out which event those actions trigger? I've tried a handful of those out of PersistenceManagerEvent but they don't seem to be the right ones.
Labels:
- Labels:
-
Other
4 REPLIES 4
‎Feb 20, 2013
03:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Feb 20, 2013
03:58 PM
pre/post_store on wtpartmaster? else pre_modify or update I'd think.
set in wt.properties
wt.services.verbose=true
wt.services.verboseEvents=true
and restart MS - will print *lots* of information on event handling, you can see what events get emitted.
hth, martin
set in wt.properties
wt.services.verbose=true
wt.services.verboseEvents=true
and restart MS - will print *lots* of information on event handling, you can see what events get emitted.
hth, martin
‎Feb 20, 2013
04:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Feb 20, 2013
04:07 PM
So for Editcommon attribute. Below is target class which is instance of
changed object.
I am catching with below code.
if (keyedEvent.getEventType().equals("PRE_STORE")) {
if(target instanceof IdentityChangeHistory){
Regards,
Manisha
martin kraegeloh <martl@sulis.de>
02/20/2013 02:58 PM
Please respond to
martin kraegeloh <martl@sulis.de>
To
-
cc
Subject
[solutions] - RE: Event Type when renaming or editting common attributes?
pre/post_store on wtpartmaster? else pre_modify or update I'd think.
set in wt.properties
wt.services.verbose=true
wt.services.verboseEvents=true
and restart MS - will print *lots* of information on event handling, you
can see what events get emitted.
hth, martin
changed object.
I am catching with below code.
if (keyedEvent.getEventType().equals("PRE_STORE")) {
if(target instanceof IdentityChangeHistory){
Regards,
Manisha
martin kraegeloh <martl@sulis.de>
02/20/2013 02:58 PM
Please respond to
martin kraegeloh <martl@sulis.de>
To
-
cc
Subject
[solutions] - RE: Event Type when renaming or editting common attributes?
pre/post_store on wtpartmaster? else pre_modify or update I'd think.
set in wt.properties
wt.services.verbose=true
wt.services.verboseEvents=true
and restart MS - will print *lots* of information on event handling, you
can see what events get emitted.
hth, martin
‎Feb 22, 2013
09:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Feb 22, 2013
09:06 AM
Hi,
The events triggered for the identity changes (common attributes) are IdentityServiceEvent.PRE_CHANGE_IDENTITY andIdentityServiceEvent.POST_CHANGE_IDENTITY.
Regards,
‎Feb 20, 2023
03:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Feb 20, 2023
03:53 AM
Were you able to identify a solution for this. If yes, please share