Can you use jsrender in an Advanced Content to generate clickable links from addresses with and without http(s) prefixes?
Let's say I have a Custom Link, in an Insight Panel, on a field that returns addresse both with and without an http(s):// prefix.
The addresses returned with an http(s) prefix are rendered correctly, but addresses that come in without prefix (say, www.site.com) are turned into something like the following, which is of course invalid.
I thought maybe something could be done with an Advanced Content component rather than the Custom Link, with the proper jsrender code. Would you have any detailed way to get this working, with code samples I could use?
This behaviour also occurs in the search interface. We use the normal weblink field from salesforce. we usually copy the webaddress from our browser (including https etc.). in the weblink field. After indexing with coveo we can't use the link. We can only make the weblink work if we manually type in the webaddress without http://. I think this problem is solved when you run a script before indexing to remove the https from the url?