Results 1 to 3 of 3

Thread: Problem inserting hyperlinks with query strings in email template

  1. #1
    roadmaps is offline Junior Member
    Join Date
    Nov 2007
    Posts
    2

    Default Problem inserting hyperlinks with query strings in email template

    We are experiencing a very strange issue when editing an email template in Sugar CRM

    When attempting to insert a hyperlink with a query string into an email template, the system truncates the domain of the link when it is saved. This breaks the link and makes it unusable.

    Specifically, I attempt to insert this link:
    http://www.surveymonkey.com/s.aspx?s...fVrTdAzg_3d_3d

    When saving the email template, the link is truncated to:
    http://www.surveym.com/s.aspx?sm=IOz...fVrTdAzg_3d_3d
    The "onkey" part of the domain is removed by the system.

    Based on my tests, the system will truncate the domain if a query string is added (specifically, if anything is added beyond the equals sign the link breaks)

    For an extensive demo of the issue, I've captured the problem in a movie that is located here:

    Does anyone have a clue as to how we can fix this problem?

    We are running Sugar version: 4.5.1d / Sugar DB version: 4.5.1 / Sugar flavor: OS

    Much obliged!

    Patrick Kajirian
    The Roadmaps Institute
    www.roadmapsinstitute.org

  2. #2
    michaelest is offline Sugar Community Member
    Join Date
    Apr 2007
    Posts
    37

    Default Re: Problem inserting hyperlinks with query strings in email template

    What's odd is that if you use an Email Template in a campaign, and add a Tracking URL and an Unsubscribe URL, then the query string is preserved.

    If you're using the email template in a campaign, then just create a new TRACKER with the URL you need and then add the {trackername} code to your email where you want the link to appear. Or use the {trackername} as your 'href' (i.e. <a href="{trackername}">Take Survey Now</a>).

    I tried it on one of my test campaigns and it works with your URL. In addition, you'll get to track click-throughs on the link.

    good luck.


    - Michael
    michaelest
    sugarCRM OS 4.5.1e (build 1049)
    PHP Version 5.2.3
    Apache 2.2.4
    FreeBSD 6.2-RELEASE #0:

  3. #3
    roadmaps is offline Junior Member
    Join Date
    Nov 2007
    Posts
    2

    Default Re: Problem inserting hyperlinks with query strings in email template

    Fantastic! Thank you very much Michaelest.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problem with email campaign
    By djdeth in forum Help
    Replies: 1
    Last Post: 2008-06-25, 05:03 PM
  2. Replies: 1
    Last Post: 2007-06-06, 02:28 PM
  3. How to attach an email template to a campaign?
    By Leopold2007 in forum Help
    Replies: 0
    Last Post: 2007-04-13, 01:07 PM
  4. Email Template Fields not replacing
    By yoshima in forum Help
    Replies: 0
    Last Post: 2006-12-05, 06:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •