This discussion is archived
2 Replies Latest reply: Jun 29, 2011 6:51 AM by 869833 RSS

Weblink doesn't work

869833 Newbie
Currently Being Moderated
hi all,

i created a weblink:

http://www.url.com/page.php?%%%ltProduct_URL%%%

the %%%ltProduct_URL%%% is a textual field, and it contains:

instance_id=13&actions=show&id=65

now, when i click on the weblink, all the '=' are changed into '%3d'
and all the '&' are changed into '%26'
and i don't get to the right webpage..

what could be the problem?
how can i fix it?

thanks,
yael.
  • 1. Re: Weblink doesn't work
    crj Newbie
    Currently Being Moderated
    The problem is that CRM On Demand is escaping the value in the Product_URL field -- replacing invalid HTML/URL characters with numeric representations of them (in hex). I don't know a way for you to make CRM On Demand not do this. The only workaround I can think of is to break the Product_URL fields into multiple fields so that you can reference them separately in your web link... For example: break your Product_URL field into InstanceID, Actions, and Id (not great examples, but you get the idea). Then format your web link similar to this:

    http://www.url.com/page.php?instance_id=%%%InstanceID%%%&actions=%%%Actions%%%&id=%%%Id%%%

    If any of the portions are static (for example, 'actions=show'), you could simply hard-code them:

    http://www.url.com/page.php?instance_id=%%%InstanceID%%%&actions=show&id=%%%Id%%%

    Chris
  • 2. Re: Weblink doesn't work
    869833 Newbie
    Currently Being Moderated
    hi Chris,

    thank you very much for your answer!

    yael.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points