Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [url]

referring to the web path url or uniform resource locator

1
vote
1answer
15 views

Unable to append account details from URL

I'm new to vf page I have a requirement to assign a vf page for a specific record type. I'm able to do by through a vf page. Now my problem is once I select the record type from vf page. I'm not able ...
0
votes
1answer
12 views

What redirect URL we need to set to get google app oAuth token in salesforce apex?

Is there any way to put some static OR intermediate redirect URL for the google app redirect URL instead of this (https://ap1.salesforce.com/apex/GoogleAuth) hardcoded salesforce VF page URL. We are ...
0
votes
0answers
8 views

Unable to create blob from Unit8Array or Array in lightning component javascript

There is a requirement to fetch xls file from attachments and create a lightning component to make the file download. I have written my code like this if(opwrap.FileExtension=='application/vnd.ms-...
0
votes
0answers
19 views

Tooltips in Lightning Datatable URL - Multiple Field Names?

Trying to create a dynamic tooltip for my Lightning Datatable URL so using field names (well singular fieldname at the moment) instead of text but was wondering if there is any way to include multiple ...
0
votes
0answers
13 views

Set the button in community that jump to record detail page

I want to set the button in community contains URL for record detail page. Here is my code. <apex:commandButton value="CLICK!" action="{!URLFOR('https://xxx.force.com/community/detail/{!object....
0
votes
0answers
19 views

Add image on HTMLBody from Messaging.SingleEmailMessage

I'm putting an image from my salesforce org inside an HTMLBody FROM Messagin.SingleEmailMessage ('c.instance' is for my org instance. documentId and orgId for document record Id and internal org id): ...
0
votes
2answers
42 views

how to make Landing page URL user friendly or readable?

I have created a landing page in Salesforce Marketing cloud Cloudpages and would like to have a friendly URL e.g. abc.com/signup for the same. Please suggest. URL for the landing page is https://pub....
0
votes
0answers
11 views

Hyperlinking a Record in Lightning:datatable [duplicate]

Having an issue with just one small part of this answer someone gave on how to Hyperlink to records in Lightning Data Table my question is what is the second ID (the one with key value of "Id" in the ...
2
votes
1answer
57 views

Custom Link to Download/Export Detail Report in Lightning

My Org uses Salesforce Lightning. I am trying to develop a Custom Link for an SF object that redirects to a report, modifies a filter through the URL and automatically downloads the .CSV file of that ...
0
votes
0answers
34 views

Need a way to handle & character in URL on button click java script

I have custom button on lead object which on click of the button it opens custom URL with some prepopulated fields from lead object. Its behavior and content both are Java script i wants to do some ...
0
votes
1answer
76 views

download base64 as PDF seting a name for it

I'm trying to download a PDF file and I wish to give a name to this file and a extension. Here is what I did: Component: <aura:component implements="forceCommunity:availableForAllPageTypes" ...
0
votes
1answer
25 views

Page reference url is appending base url as well and not opening the page

so I have a page reference implemented in my apex page PageReference mypage=new PageReference('http://10:7:8...') which should ideally be opening in a new tab hitting the url mentioned on the click ...
2
votes
1answer
67 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 ...
0
votes
0answers
9 views

Relative Url for adapter url of call center.Managed package and sforce.opencti.runApex

When created a managed package of my app and installed it in another org then call center need a absolute url like. https://..visual.force.com/apex/ But my requirement is to use a relative url for ...
1
vote
0answers
76 views

Any possible way to set LINK ALIAS for regular Link Tracking (i.e., not Web Analytics Connector)

I've done my digging here, but can't get a solution. I'd like to set a LINK ALIAS via AMPscript, but I always see my AMPscript in Link Tracking (image attached). I tried CONCAT with no luck. I tried ...
1
vote
0answers
15 views

format URL format in visualforce page so user can use it in Ligthning

In the visualforce page, we hard coded the URL link - "Go To List" to show all related account contact role records in a visualforce page. Classic view is working just fine. However, the link is lost ...
1
vote
2answers
64 views

Marketing Cloud custom url expiration

Is it possible in Marketing Cloud to set custom expiration which applies only to one particular URL? We include lots of different links in our emails, these have to stay valid as long as possible as ...
0
votes
1answer
52 views

what is correct URL for custom button with pre-selected record type

This is in classic. Also I'm pretty new to SF development. I'm trying to do something very similar to this question. I've created a custom button, which I want to go to a custom page layout for a ...
0
votes
1answer
1k views

how to get id from url in lightning component?

Hello! I just want to get an Id through a current page URL in lightning component... How to get this id from the component side? should this work on Aapexpages.currentPage().getParameters().get('Id')...
0
votes
1answer
28 views

Community Website Address

I have a Community named www.SampleCompany.force.com I also have a non-Salesforce website named www.SampleCompany.org that redirects to www.SampleCompany.force.com My goal is to have our ...
5
votes
1answer
1k views

Critical Update Bug? “Add a Namespace Prefix to Query Parameters and pageReference.state Properties”

This critical update is breaking several of my lightning components that use the URL to receive parameters. It is stripping out parameters, however none of my fields or parameters are part of a ...
1
vote
0answers
33 views

How do I reference a visualforce page from a managed package?

I am running into a problem with a lightning component in a managed packaged that is loading a visual force page from the same managed package, but both are being loading in a lightning page in a 2nd ...
1
vote
1answer
202 views

PageReference.getURL() returning URL:[delegate:{MY RELATIVE URL}]

Im am trying to get the URL of one of my PageReferences whenever i call its method to return it to me i get this result URL:[delegate:{MY RELATIVE URL}]. Anyone know if why it's returning this, Please ...
0
votes
1answer
204 views

URL is formatted differently in classic vs lightning

We are passing dynamic values to a report from a VF page and the URL is formatted differently. In classic, space is formatted with %20 whereas space if formatted with %2B and because of this a plus ...
0
votes
1answer
482 views

Lightning datatable record shows url of related record

I need to create an activity table like standard look and feel. I got stuck at two point 1.whoid/contact name isn't coming as per need I need to create dummy checkbox field for event Component: &...
1
vote
1answer
409 views

Passing parameter in URL in Lightning component tab

I have created a Lightning Component Tab and i have to pass parameter in its url (Specifically Opportunity Id). Email with link will be sent to the user and when user clicks on that link that ...
1
vote
1answer
36 views

Populating multiselect picklist from page reference

I'm sending some parameters to custom controller of my object, which should be populated on multiselect picklist. In controller I'm creating a new Page Reference, where I put all parameters by using ...
0
votes
1answer
42 views

Can we use Named Credentials with this Weird API?

In order to do something, we need to make call outs to an external server where the URL takes the format: http://www.example.com/path/{external_id}/doSomething?api-key={api-key} The external-id ...
2
votes
1answer
163 views

Where can I get the URL for adding a VF page through iframe to a custom lightning component?

Where can I get the URL for adding a VF page through iframe to a custom lightning component? 1 I create a VF page. 2 I know that I can display it in lightning using the following approach <...
1
vote
1answer
31 views

Play .mov video from amazon in lightning

I want to play .mov video from amazon in lightning. Here is amazon presigned url: https://s3.us-east-1.amazonaws.com/zed-content/Activity%20Contents/test%20act%20Content/testVid47.MOV?X-Amz-...
0
votes
0answers
218 views

Lightning component navigatetoURL to open Lightning App Page

Using Aura:component with figure onclick to open URL which is another Lightning App Page. Cannot get the URL syntax correct. It's a managed package so will have different MyDomains. The Lightning App ...
0
votes
1answer
19 views

how to get responce from url webservice

I have made a webservice to match a phone number and want to return the id of the record. When I test this in workbench this works and have a match. I have a public site with a public class where I ...
1
vote
1answer
43 views

Strange and hard to reproduce redirect for Visualforce pages in LEX back to the loginpage since Summer'18

Since the Summer'18 release I'm getting from time to time, randomly, without any reason a redirect back to the Salesforce-Login-Page when I load a visualforce-page. When this happens, this fault is ...
1
vote
1answer
85 views

How to pass API endpoint URL containing \ to

I'm trying to pass the given URL to the setEndpoint method, but I'm getting an error. This particular API URL contains backslash and maybe that's the problem because the code works fine with other ...
3
votes
1answer
599 views

Copy to the Clipboard in Lightning Component

I'm creating Lightning Component that displays Classic version of the Current URL record page with a button that onclick copy to the clipboard that URL. Just a simple functionality that saves time ...
0
votes
0answers
73 views

Evaluate the static resource url stored in a field of the record of the custom metadata type

Is it possible to evaluate the static resource url stored in a field of the record of the custom metadata type? For example I have the following record: After querying the value of the field Static ...
0
votes
0answers
18 views

Open a file in salesforce console when in the community

I have a community, in which I insert some files. When a file is inserted, it create a link that that can redirect to the file inserted. But I need it to redirect to the salesforce console (for ...
-5
votes
1answer
57 views

Javascript code in custom link [closed]

I am using Javascript code in Custom link to open a URL or display Error message based on the condition. Behavior= Execute Javascript Content Source= Onclick javascript if('{object__c.field1__c}' &...
0
votes
1answer
90 views

How to create private URL for cloudpages in Dev MC org?

I had dev MC org and was planned to create domain URL for my cloud pages but it will take me to create a case/support to salesforce people, any other to create that, any suggestion?
2
votes
0answers
388 views

Blocked opening '<URL>' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set

I want to open the visualforce community in lightning community(in same window or in new window). I am getting Blocked opening '' in a new window because the request was made in a sandboxed ...
0
votes
1answer
227 views

knowledge article url in community

In a community I want to access to a knowledge article by a link. I have something like this : href="{!'/c/article/' + currentFile.urlName}" with currentFile.urlName that is the ...
1
vote
1answer
266 views

Visualforce - Output link to URL field - Finicky behavior

I have the following code referencing a URL field on the object. As long as the address in the field is typed with the leading address info like "http:www.cnn.com" the code works just fine however if ...
1
vote
2answers
277 views

Cannot Parse JSON response

I have a json response as shown below. I am trying to get fileUrl field but unfortunately getting null value. { "errors":false, "results":[ { "result":{ "fileUrl":"/...
0
votes
2answers
782 views

Lightning Global Action Open New Tab URL no modal

I'm trying to create a global action that when clicked opens a new tab for google.com. The only way I have figured out how to do this is by when clicking on the global action drop down and selecting ...
1
vote
0answers
88 views

URL parameter not updating when using apex params

We have a Lightning component hosted inside a Visualforce page to select multiple insurance carriers. When you enter the member ID for a carrier, it fires a Lightning event that is handled by the ...
0
votes
1answer
390 views

URL button in lightning to prepopulate Recordtype doesn't work

I am trying to create URL List button so that I can add it to the related list to auto select record type when button is clicked. But every time it is selecting default record-type no matter which id ...
2
votes
1answer
215 views

URL Encoding String with just Plus Signs

I am just learning about EncodingUtil.urlEncode(targetString,'UTF-8'); and encoding schemes. targetString will print out something that looks like this: String targetString = '...
0
votes
2answers
142 views

How to check if a child object is null in Javascript Button?

I'm creating a javascript button on the Quote object that would redirect to a link in another window. I only want to redirect to this other window, if there's a child under the record. For this ...
6
votes
2answers
1k views

Lightning new URL format navigate to visualforce

In current code we use something like: <apex:outputLink value="/one/one.app#/alohaRedirect/apex/TestVisualforcePage" Anyone knows how we can convert this so it works with the new lightning URL ...
0
votes
1answer
287 views

Add Link to Object Clone Page in Lightning Experience

In classic if we want to send a user to the clone page for an object an easy option would be to build the url manually, i.e. /{id}/e?clone=1. How would one accomplish this in lightning? For example, ...