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

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

any Event for Uploading Primary and Secondary Content

adev
1-Newbie

any Event for Uploading Primary and Secondary Content

Hello,

I am working on the functionality where I need to identify the event for uploading the Primary content in WTDocument can any one please tell what is the event for Uploading Primary and Secondary content

ACCEPTED SOLUTION

Accepted Solutions
d_graham
17-Peridot
(To:adev)

I wrote a listener for this to test it.

The event you want is:

wt.fc.PersistenceManagerEvent.PRE_STORE

Hope this helps

View solution in original post

4 REPLIES 4

Hi there,

  • Set wt.services.verboseEvents=true and wt.services.verbose=true in codebase\wt.properties
  • Restart Windchill PDMLink
  • Perform the action to get all the events emitted

I hope this helps you.

Regards,

Shirish

d_graham
17-Peridot
(To:adev)

I think the event you are looking for is:

wt.content.ContentServiceEvent.PRE_UPLOAD or POST_UPLOAD.

d_graham
17-Peridot
(To:adev)

I wrote a listener for this to test it.

The event you want is:

wt.fc.PersistenceManagerEvent.PRE_STORE

Hope this helps

rp49097
5-Regular Member
(To:d_graham)

Hello all,

 

I have tried with the events.

 

But i didnt get content information using ContentHelper API.

Everty time ContentHelper API returning null.

 

 

Announcements

Top Tags