3 Replies Latest reply on May 5, 2016 3:35 PM by john.decker

    How does one set the ${watercooler} variable for email templates?

    mmarkman

      Instructions from New User Welcome Email template

       

      The following tokens may be used as part of this email:

      ${jiveURL} ${rootCommunityURL} ${toolsURL} ${officeDownloadEnabled} ${outlookDownloadEnabled} ${lastNameFirstNameEnabled} ${trialEnabled}

       

      The following users are available:

      ${user} (recipient) ${primaryCommunityManager}

       

      If they exist, the following community objects are available:

      ${waterCooler} ${gettingStarted}

       

      How do we make the ${waterCooler} or ${gettingStarted} community ojbectes?

        • Re: How does one set the ${watercooler} variable for email templates?

          The tokens available to a message template are determined by the bean. In This case the watercooler object is associated with the default Water Cooler space. There is not an out of the box way to change what it is associated with. However if you are looking to add that into a template you might consider adding something similar to my example below:

           

          <#if (gettingStarted?exists && waterCooler?exists)>

          Explore the community

          - The ${waterCooler.name} and the ${gettingStarted.name} spaces are a great place to start.

          - The ${waterCooler.name} is primarily for non-work related discussions.  Here's where you post about that cool weekend project, or discuss a favorite TV show.  Remember, you're broadcasting this information at work, so use your best judgment.

          - ${gettingStarted.name} is great if you just want to try out features on the site, like creating a sample document or discussion.

           

          Start participating

          - Check out existing discussions to see what people are talking about. See a question you can answer? Post a response.  Or start an entirely new discussion.

          - If there's a document that you send via email constantly, post it to the community.

          <#else>

          Start participating

          - Check out existing discussions to see what people are talking about. See a question you can answer? Post a response.  Or start an entirely new discussion.

          - If there's a document that you send via email constantly, post it to the community.

           

          Hope this helps