Questions tagged [hyperlink]

A hyperlink is a reference to data that the reader can directly follow either by clicking or by hovering. A hyperlink points to a whole document or to a specific element within a document. Hypertext is text with hyperlinks.

Filter by
Sorted by
Tagged with
9
votes
2answers
3k views

how to show a hyperlink in force:showToast message

How to show the message in hyperlink showToast : function(component, event, helper) { var toastEvent = $A.get("e.force:showToast"); toastEvent.setParams({ "title": "Success!", "message": "...
9
votes
1answer
851 views

How is <a>-tag-navigation to URLs and Objects done in Lightning (Summer'18)?

The lost simplicity The docs discourage the use of this pattern <a href="/XXXXXXXXXXXXXXXXXX">Salesforce record ID (DON'T DO THIS)</a> Instead we should Use Navigation Events ...
8
votes
1answer
708 views

When is it OK to use apex:pageMessages escape=false?

I want to include a hyperlink in an error message on a Visualforce page. I read that AppExchange products will fail the security test if apex:pageMessages escape=false is included. My usage is for ...
7
votes
1answer
5k views

Add Hyperlink To Body Of Email In Apex Code

I'm trying to add a hyperlink to a string which will form the body of an email that I'm sending from an Apex class. subject = 'Please give us your feedback'; body = '<html lang="ja"><body>...
6
votes
1answer
901 views

How to show hyperlink in LWC toast

I have created a LWC that executes a call to the controller and shows a toast message if the call fails: const event = new ShowToastEvent({ title: "Error", ...
5
votes
1answer
6k views

How to force open a new Tab/Window in Lightning Experience from anchor links?

I have a visualforce page that has links in it, but those links are specifically set to target="_blank", and they open new tab in Aloha interface, but in Lightning Experience they open the links in ...
4
votes
2answers
635 views

Salesforce Summer 16. Aura Component issue with links and scrolling

Summer 16 update has brought some issues to a Salesforce One mobile app I have been working on. The two issues I have had are the following. All hyperlinks (even ones with just a # in the href and an ...
3
votes
1answer
266 views

Unable to create URL with NavigationMixin.GenerateUrl

LWC - HTML - PARENT <div class="slds-page-header__col-details"> <ul class="slds-page-header__detail-row"> <template if:true={hKeyFields}> ...
3
votes
0answers
185 views

How to prevent href rewrites for Visualforce pages in Lightning Experience?

On a Visualforce page use in LEX I have a Link like this: <a onclick="{! 'sforce.one.navigateToURL(\"/' item['Id'] + '\")' }" href="/one/one.app#/sObject/{!item['Id']}/view" > {!...
3
votes
2answers
749 views

Hyperlink formula field not visible in List view for lightning

I have one hyperlink formula field- HYPERLINK("/apex/Submit_Forecast?id=" +Id & "/view", Name ) I added this field in All list view of object. It is working fine in salesforce classic but ...
2
votes
1answer
720 views

Journey Builder Engagement Splits on dynamic links

How do I know whether or not contacts are clicking links that are built with ampscript, like this: %%=RedirectTo(@store_link)=%% You'll notice in the image that the links that are shown are just the ...
2
votes
1answer
70 views

Phone numbers aren't links in Internet Explorer 11

I have written a 3rd-party call center for Salesforce using the Open CTI API. In Chrome and Firefox, contacts' phone numbers are clickable links. In Internet Explorer 11, they are not. I don't see any ...
2
votes
1answer
1k views

Open a local file providing a hyperlink in visualforce page

I need to open a local file by providing a hyperlink in visualforce page. Note: By using html file the local file is opening. <html> <body> <a href="file:///home/gss/Desktop/sample ...
2
votes
2answers
40 views

HyperLink formula field in lightning experience

I have created a Hyperlink formula field with "_self" as target parameter as shown in the picture. This works correctly in Salesforce classic. But it opens in a new tab, when I use it in lightning ...
2
votes
1answer
595 views

How to convert Hyperlink in formula field

As Salesforce is disabling the use of JavaScript in Hyperlink function in formula fields, as per this documentation: Hyperlink Formula Fields for JavaScript Disablement I am working on changing one ...
2
votes
1answer
217 views

Non-http url link from HYPERLINK('notes://example.com', 'View') is not opening

We have a text formula field with following code: HYPERLINK("notes://example.com", "View") When using Lightning Experience, thin link is not redirecting to address. In Classic Experience new tab is ...
1
vote
4answers
2k views

Any way to make the Title of a Lightning:Card into a hyperlink?

I've got a lightning:card element that has the name of a record as its title and shows some key info of it in the body. I'd like the title to be a link to the record page of the record. I can't just ...
1
vote
2answers
113 views

Building a Salesforce Form using Sites that is Time-bombed

Project Build a form off salesforce that can be sent to clients to collect information. Sent by email through salesforce as a button available to sales users off the account record Requirements ...
1
vote
2answers
2k views

Help: Salesforce will block JavaScript execution in hyperlink formula fields

I got an email from Salesforce stating that my org has JavaScript in hyperlink formula fields and that they would no longer be supported by October. How do I find these? What is the solution? I am in ...
1
vote
1answer
1k views

how to create a hyperLink to open up the record page

I want to convert {!'RaceName' + v.race.Name} to a hyperlink which should link to the built-in Salesforce edit page, I have tried to convert it into a hyperlink but it just didn't work? <aura:...
1
vote
1answer
476 views

Inline Visualforce page is displayed as a link in Community, any idea why? and how to remove the link behavior?

We have below simple example visualforce page (to be used as inline VF page for Opportunity). <apex:page standardController="Opportunity" > This page doesn't have any content. </apex:...
1
vote
1answer
43 views

Hyperlink in the case's comment

I am using the following Salesforce API to generate a case comment. POST /services/data/v39.0/sobjects/CaseComment HTTP/1.1 Host: *******.my.salesforce.com Content-Type: application/json cache-...
1
vote
1answer
128 views

Hyperlink on lightning component is throwing an error

I have below component code to convert the name to hyperlink which will open up its' default record page component: <aura:component controller="RaceController"> <aura:attribute name="...
1
vote
1answer
649 views

Opening case (hyperlink) in primary tab

I have a page on console where case number is shown as hyperlink. When it is clicked it should open in the same tab which is primary tab. I created formula field using Hyperlink function.It is opening ...
1
vote
1answer
542 views

Using anchor links to redirect within email

I am having trouble in linking to a specific area of webpage through the use of anchor links. Example: <a href="http://www.example.com/page.html#myanchortag"> Whenever I include the '#' it no ...
1
vote
1answer
557 views

hyperlink a text shown in vf page leads to record detail page

I have below line from apex class that fails to redirect to a record detail page in a new tab. Can someone point out my error and suggest me a resolution please? Apex class snippet String ...
1
vote
1answer
1k views

Can we use HYPERLINK FORMULA field in salesforce 1?

I have created a HYPERLINK formula HYPERLINK("/apex/my_VF_Page?Id="+ Id , "MY VF Page" ) If I use link in saleforce 1 App. This link doesn't work any workaround so I add any logic in HYPERLINK for ...
1
vote
2answers
339 views

Concat function is breaking link tracking

I could use some help on a problem that I'm having with link tracking. I need to build an email link like below, but the concat is breaking link tracking. When I send myself a test email the link ...
1
vote
0answers
79 views

Creating hyperlinks in lightning community record tempaltes

While testing different ways to provide clickable links to users, I realized that the standard documented approach doesn't seem to work and while attempting to customize a component to do the same, ...
1
vote
1answer
605 views

Hyperlink in Einstein Bot Dialog message

I'm trying to create a hyperlink in the Dialog message in Einstein Bot. The effect should be same as : <a href="http://www.salesforce.com/">Click here to go saleforce.com</a> Of course, ...
1
vote
0answers
266 views

Remove Google Maps Hyperlinks from Addresses, Contacts and Accounts

We have a request to remove all Google Maps hyperlinks on our addresses, so that users can copy addresses more easily. Is there a way to remove these hyperlinks? I've already turned of Google Maps ...
1
vote
1answer
297 views

HYPERLINK in if block of a Conga Document

I am creating a word conga document where I have a field that is to be hyperlink. The {{HYPERLINK:merge_field:Click Here}} works fine, but I want it to be displayed on a condition, so I put it in IF ...
1
vote
2answers
582 views

Links to Visualforce Pages in Lightning UI

How can we give a link to a VF page so that it loads in same window? The usage required is to share the VF page URL in a salesforce record. For Ex, there is a link to a VF page in Task Record. We ...
1
vote
2answers
494 views

What is the best way to hyperlink to files. such as .pdf files, when using community builder?

We are converting our agency's public website over to a community site using the Napili template, but I am struggling to make files available. Our old website has literally hundres of .pdf files that ...
0
votes
1answer
2k views

How to populate a field value through a hyperlink

I have a record where there are couple of custom fields which I have to pre-populate the values when I click a hyper link. This hyper link should be stored in as a custom formula field with return ...
0
votes
1answer
32 views

Force download in Salesforce HTML Download Link

I'm adding a link to a Salesforce page with some JavaScript and I want to force the corresponding link to download. At the moment it's just displaying the image in my browser (current version of ...
0
votes
2answers
25 views

MobilePhone as HyperLink

I have an requirement, would like to make mobilephone field on contact object to hyperlink with phone icon so user can click on the phone number to make a call to the number. Please help me here. I ...
0
votes
1answer
31 views

repositioning hyperlink next to lightning:textbox description

when I add styling to reposition a hyperlink next to a lightning components label, it seems to lose its functionality and no longer redirects, <lightning:layoutItem padding="around-small" size="12"...
0
votes
1answer
708 views

HYPERLINK function in a formula field returns different results

Background I have a custom object Recipient__c with a Lookup relationship to Contact. Also it have another Master-Detail relation to another custom object SomeObject__c. The Name field for this ...
0
votes
1answer
351 views

Lightning: Is it possible to link to an Account/Contact “Related Details” tab?

Is it possible to link directly to an account / contact's Related Details tab? By default it opens up to the Related tab. I know I can set the default to be the Related Details tab, but I'm wondering ...
0
votes
1answer
206 views

Formula error Error: Syntax error. Missing ')'

I am trying to create a hyperlink formula that links the user to a google maps page displaying the address location of the lead related to the event. This is what my formula looks like right now. I ...
0
votes
1answer
697 views

RedirectTo, AmpScript and website-generated parameters

I have a URL that is created with some Ampscript that needs to have click-tracking. However, there are parameters that our 3rd party's website adds and I believe that is breaking the link. Here's ...
0
votes
2answers
771 views

Hyperlink formula to click Javascript Button

I need to create an "action column" style button on Case listviews, that accomplishes the same thing as a custom javascript button that I put on the actual Case records. I am confused by some of the ...
0
votes
1answer
60 views

How to create a bitly link that has dynamic customer data in the URL?

I am trying to create an SMS message for customers that has a 'confirm with us' bitly link inside the text that will take them to a landing page which should pass their ID from the url to CRM so that ...
0
votes
1answer
242 views

Hyperlink in a long text Area

I have a long text area field on an object. There is a link present for each record on that field which works fine at the record level but does work on reports. I want to make the link clickable in ...
0
votes
3answers
1k views

Create hyperlink in visualforce page that redirects to corresponding create contact page for account

If I launch a visualforce page called 'My New Opportunity' from the Account page with fields like custom contact in it, I would like to create a Hyperlink with the words "Don't have a Contact?" just ...
0
votes
2answers
431 views

Add hyperlinked text to right of field on Visualforce page

I'd like to build a field similar to the standard Owner field, which includes a [Change] link immediately to the right of the field value. However, the additional requirement I have is that the link ...
0
votes
2answers
50 views

How to href within JQuery field for RemoteObjects

Morning Everyone, I was wanting some help in hyperlinking the Name field in the following code. I've tried a few methods within the brackets to no avail and keep breaking the entire page. I'm ...
0
votes
1answer
286 views

Hyperlink field in salesforce1 mobile app

I have a custom formula field "Create Activity" in one of the object and it has a hyperlink value such that clicking it pass some parameters such Account name, Contact name etc. from current webpage (...
0
votes
1answer
507 views

This page can't be displayed in IE11

Whenever I am using IE-11 , and trying to open Hyperlink's I am getting this error. I know this is IE-11 issue - which is faced by many users - but curious if there is any settings/workaround in ...