1 Reply Latest reply on Jun 24, 2014 1:00 PM by gdinning

    Watch a Tag Widget Pulls in Same Piece of Content Based on Discussion Replies

    brianbernard

      Hello,

       

      We have a basic watch a tag widget configured to pull in content tagged with a single term. However, it seems to be treating replies to a discussion thread as distinct pieces of content, thereby duplicating results in the widget. Is this somehow a problem with configuration of the widget, or a bug?

      watch-a-tag-discussion.png

        • Re: Watch a Tag Widget Pulls in Same Piece of Content Based on Discussion Replies
          gdinning

          I think it probably has to do with the way discussions and replies are stored.  The discussion itself and the replies are separate content types in Jive (the discussions are in the JiveThread table and the replies are in the JiveMessage table) and are unique objects in Jive.  Although the discussions and replies are separate things, I'm guessing they share the same set of tags.  When you're finding all the object with a certain tag, it's probably picking up the whole lot of them.

           

          If you only need to see the top level, I'd suggest having your widget filter out the messages leaving only the discussions.  That should do the trick.

           

          Naming is confusing for these things depending on where you look.  Discussions are Threads in the database and Forums or ForumThreads in code.  They have a content type of 1 (found in the JiveObjectType table).  Replies are Messages in the database, and Messages or ForumMessages in code.  They have a content type of 2.  Hope that helps.