Add custom link on dicussion

Lisa from FutureAdvisor's Avatar

Lisa from FutureAdvisor

18 Dec, 2013 03:37 AM

Our support staff often need to look up user information from our website, and currently they copy the user's email from Tender into our system. Is there a way to add a clickable link on a discussion or user to a custom link (e.g. http://ourwebsite.com?user=email)?

  1. 1 Posted by Julien on 18 Dec, 2013 08:03 PM

    Julien's Avatar

    Hi Lisa,

    There are several ways to achieve this.

    • The first, and the one we use most often, is to use Custom JavaScript, which we offer on our Ultimo plan. If you decide to go that route, I'd be happy to assist you and help you write a script to insert a link for support staff.

    • The second way is already provided by Tender: users can have a field called extras, which is just a hash, and which when filled, will display at the top of the discussion. It's typically filled via SSO, but it can be filled via the API as well. The discussion itself also has an extras field which is displayed just the same. In fact, the extras on the discussion is just a copy of the extras on the user when the discussion was created. So when we show the discussion, we show extras if it's present, and if the user has something different now, we show that instead (note: extras for users is only available on users with profile, not anonymous users).

      We use that ourselves to get information about users, such as an admin link, their plan etc. It has the advantage of being already implemented and showing information inline.

      Since we also offer webhooks, one thing you could do is have a webhook that gets called whenever a discussion is created, which looks up the user, and adds info to the extras field of the discussion/user. This way, support staff would see what they need without the need to go anywhere else.

      You can see it on our blog.

    • The final way to achieve this is through a browser extension and a user script. Extensions such as Tampermonkey for Chrome or Greasemonkey for Firefox allow you to run custom scripts on specific websites. So you could write a script to insert the link and other relevant information in the discussion, and give the link to your support staff for them to install and use.

    Let me know if you have any question about those different options. Whichever one you choose, I'll be happy to assist you.

    Cheers!

  2. 2 Posted by Lisa from Futur... on 18 Dec, 2013 08:07 PM

    Lisa from FutureAdvisor's Avatar

    Thanks, this is exactly what we are looking for!

  3. 3 Posted by Julien on 18 Dec, 2013 08:15 PM

    Julien's Avatar

    Glad to hear it! Let me know if you have any question as you get into it and choose a solution.

    Cheers!

  4. brandi closed this discussion on 20 Dec, 2013 08:15 PM.

Discussions are closed to public comments.
If you need help with Tender please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac