36 Replies Latest reply on May 17, 2013 6:39 PM by dfiel

    Show whole discussion thread in email

      Jive - are you planning to support this option out of the box? The lack of visibility into the complete thread via email is holding up adoption in some groups. This is especially true for those in the field and do almost everything via email, and those who already have a large list of tools they have to use and want to participate in the dialog/collaboration via a tool they already use daily: email.

        • Re: Show whole discussion thread in email
          AmandaS

          My +1 on this.  We have had many user requests as well. The usefulness of the email is not very high when there are a lot of posts.  At least showing the last 5 (or making that an admin console setting) would be nice.  Users complain about needing to read many emails to get and understanding of the discussion - especially the mobile users.

           

          Philippa - have you logged this as an idea?

          • Re: Show whole discussion thread in email

            Hi Phillipa,

             

            When receiving email notifications on a place, users do get the full thread in their email with one email per message, along with a link to view the full conversation online. This lets the email client present the full threaded view and gives users the choice of what to keep (potentially as context for later replies). This also ensures that a user can quickly see what's new in the thread (which can be onerous when a thread includes thousands of posts!) and avoids sending around (and clogging up users' email with) a ton of duplicate content.

             

            If you're already using email notifications this way and there's still a gap, can you share some more context or specific use cases and the feedback you're getting that might help us find a better solution?

             

            Thanks,

            Olivia

              • Re: Show whole discussion thread in email
                crossman

                Per the info in my idea, the issue is that folks want to be able to view the entire thread (no matter how long the first message was written) via their email client, especially when the email device (such as BlackBerry) is in offline mode.

                 

                For example, let's say I'm getting email alerts for a thread over the past couple months. Well, I'm obviously not going to keep the first message from two months ago in my email inbox (so, the "threading" option won't really work).  This is funcitonally similar to an email thead in those cases when nobody trims the "quoted" material from multiple responses. Within a single email you can go back and see the entire thread.

                 

                That's the rationale that some of our users have vocalized regarding this feature request.

                • Re: Show whole discussion thread in email

                  Thanks for the response Olivia.

                   

                  The requirement is that when someone opens a mail item, they have the option to see the whole thread, or to configure showing the last <n> posts in the thread. This is especially important for people using hand-held devices or smart phones constantly to keep in touch and up to date; for example Sales people, SEs, PSEs, and others in a hurry in airports, customer sites, or even for many who are multi-tasking at their desks, etc. Most people on the move do all their interactions via email, and they don't want to go to log into another app to interact with discussions taking place elsewhere. So Jive notifications, with full context if the user chooses, must come to them in the tool that is their lifeline.They want to click once and see the latest post in the context of the discussion as a whole. It's just too frustrating to have to open five, or ten, or twenty emails to read one discussion, and it can even be risky to take a single statement out of context.

                   

                  Philippa

                    • Re: Show whole discussion thread in email
                      Ted Hopton

                      This sounds like requirements for a mobile site. How is an email supposed to have all those options in it? I get that people using their mobile device need to be able to get more without going to a PC. But I think the solution is a mobile-friendly site rather than sending entire long discussions in every notification email.

                       

                      Are they really going to enjoy scrolling down thru the entire thread to see the new post? Or is that new post supposed to appear at the top and then they only scroll thru if they want to, remembering that the new one at the top is actually the post that comes at the end?

                       

                      I think this is a hairy beast when you really dig into the implementation details.

                        • Re: Show whole discussion thread in email

                          The option would be set in Jive, not email.

                          The latest post should be at the top. If people don't want to get the whole thread they wouldn't have to - in fact I propose that the default be as it is now. But users could set their preferences in Jive as to how much of a thread they wanted in notifications.

                           

                          A (better) mobile site is nice for some, but not the answer for many. Email is still the aggregator - people want fewer logins and apps to deal with on an hourly/daily basis, not more. Jive is fun to go to for social and non-critical content, browse around, etc. But when a serious tech discussion is taking place, people want to read the whole thing in the email client they use continously (fast, simple, text) and reply, without taking the time to login and read in the (slower-going) UI.

                          • Re: Show whole discussion thread in email

                            I commented with questions on the idea in parallel, but this is a great discussion!

                             

                            I would like to suggest separating out the mobile-specific use case here. We are working on ways to provide mobile users better access to content in Jive that I do think will address this. Email is a great complement to what we do, but imperfect as a complete UI. More on this coming at Jiveworld in September.

                              • Re: Show whole discussion thread in email

                                Agree this is a great thread.

                                 

                                I am fighting huge resistance migrating our internal mailing lists to Jive's SBS because we can't support "displaying the entire thread". Mobile or not is irrelevant. It would be great to have this option for all. By default, the newest reply is always at the top.

                                 

                                I am happy to provide more input here. especially for tech people, they want to view the replies of others without clicking on all the messages individually or actually logging into SBS. A lot of of people catch up on planes and already fight with too much email.

                                 

                                Please add this as an option to the product.

                                 

                                Thanks,

                                 

                                Joe...

                                  • Re: Show whole discussion thread in email
                                    AmandaS

                                    Agree 100% Joe.  It’s hard to get people to move from email when an email thread will show them all messages in the thread by default and SBS will not.  It’s more work for people to open each separate message and piece the discussion together.  Telling people to click through to the system to see all posts does not go over well when they see the simple solution as just showing them all the messages in the thread!  ;

                                      • Re: Show whole discussion thread in email
                                        judy.yamada

                                        We also have this feature need.  We have sent Jive PS our requirements and received an estimated cost for building this customization. However, based on the replies in this thread it would be a benefit to several Jive customers to have this added as a standard feature in the application.

                                         

                                        Jive what do you think?

                                         

                                        Thanks,
                                        Judy

                                        • Re: Show whole discussion thread in email
                                          sgerus

                                          We are in need of this feature, or something like it, as well.  Our users just don't like logging in - they want those email notifications!

                                           

                                          However, how's this for a compromise: include in just the discussion that's being replied included in the notification.

                                           

                                          This would avoid clogging inboxes with huge threads, but would give users context on what's being responded to.

                                            • Re: Show whole discussion thread in email
                                              dfiel

                                              I built this code to show the previous messages in the thread.  It goes in the Thread Watch email template as well as the Community Watch, Group Watch, and Project Watch:

                                              Thread: "${thread.name.trim()}"
                                              ${jiveURL}/message/${message.ID?c}#${message.ID?c}
                                              Author: <#if message.anonymous>${guest}<#else>${SkinUtils.getDisplayName(message.user)}</#if>
                                              --------------------------------------------------------------
                                              ${message.body}--------------------------------------------------------------
                                              <#assign messageroot=thread.getRootMessage()>
                                              <#assign seq = ["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","25","26","27","28","29","30"]>
                                              <#list seq as x>
                                                  <#if message.ID!=messageroot.ID>
                                                      <#assign message=message.getParentMessage()>

                                               


                                              Previous Message from <#if message.anonymous>${guest}<#else>${SkinUtils.getDisplayName(message.user)}</#if>:
                                              --------------------------------------------------------------
                                              ${message.body}--------------------------------------------------------------
                                                  </#if>
                                              </#list>

                                               

                                              This only shows one branch of the thread tree down from the current message, but it has been sufficient to make our users happy.

                                              Note that is is for CSC 2.5, SBS 4.5 version below...

                                                • Re: Show whole discussion thread in email
                                                  AmandaS

                                                  Thanks for the code – we’ll check it out!

                                                  • Re: Show whole discussion thread in email

                                                    Thanks.  We modified it a little but the html works great!

                                                    • Re: Show whole discussion thread in email
                                                      dfiel

                                                      I've updated the "show whole thread" code to support our site which is now upgraded to SBS 4.5.  There are a couple of bugs in 4.5.3 to note:

                                                      1.  Preview doesn't work with the thread and message objects, but actual notifications are sent OK.

                                                      2.  The emailReplyEnabled variable isn't set correctly.  I have changed it to !emailReplyEnabled so that the correct message is displayed, since we have the email monitor enabled.

                                                      I've tightened up the margins on the HTML version to save space and improve the look based on the rendering of Outlook 2007, so your look may need some tweaking.

                                                       

                                                      Text Version:

                                                       

                                                      Thread: "${contentSubject}"
                                                      ${contentAuthorName} <#if contentAuthorURL?has_content>[${contentAuthorURL}]</#if> <#if isNewContentItem?? && isNewContentItem>created<#else>replied to</#if> the discussion
                                                      ${contentURL}
                                                      <#if includePostContentInEmail>--------------------------------------------------------------
                                                      ${contentTextBody}
                                                      --------------------------------------------------------------
                                                      <#assign messageroot=thread.getRootMessage()>
                                                      <#assign seq = ["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","25","26","27","28","29","30"]>
                                                      <#list seq as x>
                                                          <#if message.ID!=messageroot.ID>
                                                              <#assign message=message.getParentMessage()>
                                                      
                                                      Previous Message from <#if message.anonymous>${guest}<#else>${SkinUtils.getDisplayName(message.user)}</#if>:
                                                      --------------------------------------------------------------
                                                      ${message.body}
                                                      --------------------------------------------------------------
                                                          </#if>
                                                      </#list>
                                                      </#if>
                                                      
                                                      <#if !emailReplyEnabled>
                                                      Reply to this message by replying to this email -or- go to the discussion on ${SkinUtils.getCommunityName()}
                                                      [${contentURL}]
                                                      <#elseif hasRespondEntitlement>
                                                      Reply to this message by going to ${SkinUtils.getCommunityName()}
                                                      [${contentURL}]
                                                      </#if>
                                                      <#if emailCreateEnabled>
                                                      Start a new discussion in ${containerName} by email
                                                      [${newContentAddress}] -or- at ${SkinUtils.getCommunityName()}
                                                      [${newContentURL}]
                                                      <#elseif hasCreateEntitlement>
                                                      Start a new discussion in ${containerName} at ${SkinUtils.getCommunityName()}
                                                      [${newContentURL}]
                                                      </#if>

                                                       

                                                      HTML Version:

                                                       

                                                      <h3 style="margin: 0px 0 5px; font-size: 17px; font-weight: normal;">
                                                      Thread: "${contentSubject}" <br />
                                                      </h3>
                                                      <span style="margin-bottom: 10px;">
                                                      <#if isNewContentItem?? && isNewContentItem>created by<#else>reply from</#if> <#if contentAuthorURL?has_content><a href="${contentAuthorURL}">${contentAuthorName}</a><#else>${contentAuthorName}</#if> in <i>${containerName}</i> - <a href="${contentURL}">View the full discussion</a>
                                                      </span>
                                                      <#if includePostContentInEmail>
                                                          <hr style="margin: 0px 0; border: none; background-color: #dadada; height: 1px;">
                                                          ${message.body} <br />
                                                          <hr style="margin: 0px 0; border: none; background-color: #dadada; height: 1px;">
                                                          <#assign messageroot=thread.getRootMessage()>
                                                          <#assign seq = ["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","25","26","27","28","29","30"]>
                                                          <#list seq as x>
                                                              <#if message.ID!=messageroot.ID>
                                                                  <#assign message=message.getParentMessage()>
                                                                  <br /> 
                                                                  Previous message from 
                                                                  <#if message.anonymous>
                                                                    ${guest}
                                                                  <#else>
                                                                    ${SkinUtils.getDisplayName(message.user)}
                                                                  </#if>: <br />
                                                                  <hr style="margin: 0px 0; border: none; background-color: #dadada; height: 1px;">
                                                                  ${message.body} <br />
                                                                  <hr style="margin: 0px 0; border: none; background-color: #dadada; height: 1px;">
                                                              </#if>
                                                          </#list>
                                                      </#if> <!-- includePostContentInEmail -->
                                                          
                                                      <div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
                                                      <#if !emailReplyEnabled>
                                                          <p style="margin: 0;">Reply to this message by replying to this email -or- <a href="${contentURL}">go to the message on ${SkinUtils.getCommunityName()}</a></p>
                                                      <#elseif hasRespondEntitlement>
                                                          <p style="margin: 0;">Reply to this message by <a href="${contentURL}">going to ${SkinUtils.getCommunityName()}</a></p>
                                                      </#if>
                                                      <#if emailCreateEnabled>
                                                          <p style="margin: 0;">Start a new discussion in ${containerName} by <a href="mailto:${newContentAddress}">email</a> or at <a href="${newContentURL}">${SkinUtils.getCommunityName()}</a></p>
                                                      <#elseif hasCreateEntitlement>
                                                          <p style="margin: 0;">Start a new discussion in ${containerName} at <a href="${newContentURL}">${SkinUtils.getCommunityName()}</a></p>
                                                      </#if>
                                                      </div>
                                              • Re: Show whole discussion thread in email
                                                mbangash

                                                Olivia Teich wrote:

                                                 

                                                I would like to suggest separating out the mobile-specific use case here. We are working on ways to provide mobile users better access to content in Jive that I do think will address this.

                                                 

                                                Olivia, sorry to bring up the mobile discusison but it would make sense to have a link at the bottom of the incoming email notification (that is being read on a blackberry) that could take you to the full discussion within a Blackberry mobile app. (The switch-over from BB email client to BB Jive app could be such that you don't have to enter a password everytime the mobile app opens for better usability). This way the email notification could stay as is - only when required you could simply switch over to the mobile BB app for Jive. You could either 'respond via email' to the discussion thread OR you could open the entire discussion thread in the BB Jive app and respond after reading entire thread.

                                        • Re: Show whole discussion thread in email

                                          Just to be clear this code presented does not show the "Show the Whole Discussion Thread" rather it shows up to 30 messages in ONE branch of a thread. This is by no means the Whole Thread. It only displays one branch. I tried to get the code to iterate through all branches and display the Whole Thread but i couldn't get it to work. Good code though none the less.

                                            • Re: Show whole discussion thread in email

                                              Has anyone figured out a solution to this? It can't be that hard to include the entire discussion thread in the message body WHILE retaining formatting. Apparently message.body during the loop strips all formatting, and I haven't been able to figure out how to use the contentBody part in the loop. I tried switching the discussion style from threaded to flat, and that doesn't work. I really need to get this working for my environment.

                                               

                                              All I'm looking for is something simple -- list all messages in the discussion thread (while retaining formatting) in descending order with the most recent post on top. If the only way to do this is leave threading style as flat, that's fine with me, I just need to have every single message in the discussion thread listed in the e-mail.

                                               

                                              I'm a wits end here! Anyone have any solutions? This shouldn't be that hard to do!

                                                • Re: Show whole discussion thread in email
                                                  ankitagarwal

                                                  I think its in the definition of of the word "thread". In this respect I think the way this is constructed is actually intelligent. If the stated purpose of having the "past discussion" available for context, you should mostly be concerned about the message the reply is replying to, and up to the top.  As opposed to all the side discussions that can sometime occur when a single "Discussion" has several "threads". However you can remove the restriction of 30 threads as in the above code just by calculating Mesage count as below

                                                  <#assign messageCount=thread.getMessageCount()>