0 Replies Latest reply on Aug 22, 2016 3:51 AM by vijayora

    How to get Author of of the object (thread/doc/blog) for which a reply/comment has been marked helpful

    vijayora

      Hello Experts,

       

      With Version 8.0.3 - I am trying to customize

       

      OutcomeEventListener.outcomeCreated(..) method so that awardPoints(..) method gets called only if the admin or author of object (thread/doc/blog) marked a reply/comment helpful.

       

      A) userManager.getUser(outcome.getUserID())  & e.getActorID()  >> Gets me who marked it helpful.

      B) ((JiveContentObject) object).getUser(); - Gets me whose comment/reply was marked helpful

       

      Could you guide me how can i get the author of the object (thread/doc/blog) while inside OutcomeEventListener.java

       

      Thanks in advance.

       

      Regards,

      Vijay