We’re sending an internal survey to account teams, and one of the requirements is a question that asks them if they are utilizing the auto-configured opportunity in SFDC, or did they create a new one. My issue is, while I’ve been able to create the URL, its not a hyperlink, and concatenating HTML tags around it does weird stuff, essentially breaking the field. I also tried having the field type URL in the MDA, however I guess URL fields are not allowed in Surveys? Any ideas on how to work around this?
It’s a full URL from Salesforce, for an opportunity.
It’s a full URL from Salesforce, for an opportunity.
not sure if this helps but you *should* be able to do it. You just need a little bit of special sauce in your Concat function. Here is an example of one I did where I wanted the SFDC Case Number to be a clickable URL in my emails (not in the survey itself, but may be worth a shot):
Note this may be different if you don’t use lightening:
Concat(<a href=,
https://yoursfdcdomain.lightening.force.com/lightening/r/Case,
Object_ID_Field,
/view,
” target=”_blank”>,
Case_Number_Field,
</a>)
Each comma separated section is part of the concat formula and the spacing is important. The target=”_blank” forces the link to open in a new window/tab or Gainsight explodes and won’t open an otherwise functional link.
The returns are just for ease of reading. Note the /Case would be replaced with your object name, the _Field fields with what you’re referencing and the second one is your display text which could be static if you want.
If I could give you a virtual high 5 I would
Hi
I am using below URL to open new window in report or C360 layout but it does not work.
Can you plz advise?
Concat(<a href=",https://lightning.force.com/,Record ID, target="_blank", ”>,Link,<,/a>)
Hey
Concat(
<a href=,
https://yoursfdcdomain.lightening.force.com/lightening/r/Case,
Object_ID_Field,
/view,
” target=”_blank”>,
Case_Number_Field,
</a>)
note that each comma represents a ‘field’ in the concat formula and the spacing matters. For example, you have <,/a> instead of ,</a>. Some of your quotes are in different places as well so have a look at those and see if the corrections help!
Reply
Sign up
If you ever had a profile with us, there's no need to create another one.
Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.
Welcome to the Gainsight Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.