Stack Exchange Network

Stack Exchange network consists of 174 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

0
votes
1answer
51 views

Validation Rule for URL [on hold]

I have a requirement as follows: Create a validation rule that has to match valid URL format. Is there any basic Format for URL which can be used here for creating the validation rule.
0
votes
1answer
20 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
42 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
6 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
63 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
43 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
34 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
350 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 ...
4
votes
1answer
839 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
27 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
84 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
92 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
360 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: &...
0
votes
0answers
18 views

How to get URL from prompt when we access third party application(quip)

Can we get prompt window url. we need to get some parameter from URL. Is that possible to get parameters? so that we can move further with parameters.
1
vote
1answer
226 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
23 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
36 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 ...
1
vote
1answer
93 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
27 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
154 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
17 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
37 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
77 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
392 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
63 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
13 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
44 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
69 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
309 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
156 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
206 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
183 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
592 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
80 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
318 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
158 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
119 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
877 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
228 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, ...
0
votes
1answer
16 views

Saved image in Documents and I need to reference as URL

I have an image that I have saved to Documents object in Salesforce. I need to be able to reference this as a URL I keep seeing reference to servlet url, but nothing on how to build one: /servlet/...
0
votes
0answers
168 views

.getHeaders().get('Referer') in Safari on iOS

We have a Salesforce Community, and few VF pages inside Lightning templates in it. To get URL parameters inside Apex controller we using: ApexPages.currentPage().getHeaders().get('Referer') , since ...
0
votes
0answers
9 views

Salesforce android pass parameters inURL

Is there any way to redirect to salesforce android application from browser and pass parameters in URL and handle them in the application?
2
votes
1answer
240 views

Redirect visual flow to external URL

Good day Everyone I have created a flow which I embed inside visual force page. After the flow process, I want to redirect the page to external url like 'www.google.com'. The problem is that encounter ...
1
vote
1answer
458 views

Custom Formula field in record detail page to launch vf page is not working in Lightning Experience

I have a text formula field on custom object which when clicked have to launch a visualforce page. I want to make it working for both Salesforce classic and Lightning Experience. Now it is working ...
3
votes
2answers
2k views

Hyperlinking in Lightning:Datatable

Currently when I use the lightning:datatable and then a column of type url. I cant seem to bind a actual event to the url.. My Code is currently as follows Component <lightning:layoutItem ...
0
votes
0answers
333 views

How to refer the current page URL in formula?

In our custom object button, we're calling an Visual-force page as below. /apex/updateDetails?id={!Obj__c.Id} This works fine in Salesforce. But when we enable this page for community, button fails ...
1
vote
0answers
107 views

URL parameter Issue while having '+' sign in the url [duplicate]

Not sure if anyone encountered this issue. Basically, I am doing an encoding of user details and then via email, I am sending the encoded value (which I got form crypto.encryptWithManagedIV) to the ...
0
votes
1answer
151 views

/s getting added to community URL

We have two sand boxes. In one sandbox, /s is getting added to community url where as in another sandbox it is not. Custom Login page is specified as active site home page in both boxes.So Login page ...