Questions tagged [url]

referring to the web path url or uniform resource locator

98 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
91 views

Neither forceCommunity:routeChange or aura:locationChange cannot detect the URL change with history.replaceState

We have a use case where a lightning component built in LWC, should trigger a URL change. We're handling that with the history.replaceState method(note that we encountered the same problem with ...
5
votes
0answers
865 views

Site.getBaseUrl returns empty string in test method

I'm writing tests for the community site controller class and I've faced with some problem. When I invoke a controller method that includes Site.getBaseUrl() from test method I get an empty string. I ...
5
votes
3answers
2k views

Navigating to a lightning app--what's the URL?

How would one navigate between lightning apps using the Salesforce1 javascript functions? I see actions for navigateToURL and navigateToSobject, etc, but not NavigateToLightningApp?
4
votes
0answers
86 views

Content Builder images

I now have another issue with the same set of images that I had uploaded initially for this template. I deleted them all because I changed my Setup--> Feature Settings --> Content Builder Settings -->...
4
votes
0answers
273 views

HTTPS displays “site under construction” - Manually remove S and it works yet URL is still HTTPs

Can anyone confirm that what I am seeing is "expected" or is there a bug... Scenario: Site configured in a sandbox instance requiring HTTPS Code set page reference to https://sitename Sites shows ...
3
votes
1answer
631 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 ...
3
votes
1answer
749 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 ...
3
votes
2answers
4k 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 ...
3
votes
1answer
414 views

Getting error when clicked on preview for lightning

I am working with lightning. This is first time I am trying it out. I have create a app, apex controller and js controller. I am just trying to get some information form my accounts and want to ...
3
votes
1answer
340 views

Trigger Ready Flow /Process Builder to open record in edit mode (URL/e)

I would like to use an auto-flow (ie. not use a button, but use trigger ready flow /process builder to auto-launch a flow) to open up a current record in Edit mode. Ie. Hack the URL so that the URL ...
3
votes
2answers
106 views

Is there a way to have APEX field values written to a page unescaped

I would like to do this, have escape false... <apex:outputText value="{!myUrlField}" escape="false"/> ...when I am using a bracketed call: {!myUrlField} Specifically, this is for writing ...
3
votes
0answers
1k views

Passing parameters to url scheme salesforce1://

I am connecting to salesforce1 (mobile app) from another mobile native app using the salesforce1:// mobile scheme, as per the overview document. Instead of using standard objects and pages I am ...
2
votes
0answers
43 views

SVG file type in Marketing Cloud

Has Marketing Cloud stopped support for SVG files? We need to migrate content from an old MC tenant to a new one, including some SVG files. On the old tenant, the SVG files come with a URL from where ...
2
votes
0answers
191 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 ...
2
votes
0answers
2k 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 ...
2
votes
0answers
204 views

What is the inst parameter for ( in our case inst=0 )?

Here is our implementation of a JS custom button/link to take our internal users to their own customer portal. This link works for us. We have hacked at this for hours until we landed on the "right" ...
2
votes
0answers
479 views

URL for Salesforce page with no header or sidebar, List view buttons are not working

I am trying to develop a page wizard which helps our users "Complete multiple interactions" (create multiple records) on one page. In order to accomplish this, I have created the URLS for the records ...
2
votes
0answers
64 views

Login-Links in Salesforce: sometimes they work - sometimes they don't

As consultants and developers we login to a very huge number of different development- and client-orgs. We use the environment hub, but beside the hub it comes very handy to use login links in the ...
2
votes
1answer
210 views

Getting image file thumbnaiil with oauth_token parameter

I am trying to get the thumbnail for an image that has been posted as a file to the chatter. I have been able to do this for a User Profile image by sending &oauth_token=(my oauth token) as a ...
1
vote
0answers
47 views

Using RegEx with replaceAll

I'm working on a class that will take the title of an article and post in the URL field. The class itself copies the field and removes characters such as '@' or '/' and replaces it with '-'. ...
1
vote
0answers
258 views

Query String variables not showing up in URL after a RedirectTo

I am trying to set up a simple link, where the HREF points to a URL with a collection of query string parameters: Here's the <a>: Finally, after receiving the email, the URL I'm taken to ...
1
vote
0answers
43 views

HTTPS url for Community isn't redirecting

We are about to launch our Salesforce Community. We created a custom domain and URL using this option for our domain: "Salesforce serves the domain over HTTPS, on Salesforce's servers, using your ...
1
vote
0answers
143 views

Opening Visualforce page from Lightning Component, not showing header with back button on mobile app

In our org, we have a lightning component that opens a Visualforce page. On mobile, we want the mobile header that contains a back button to be visible, or for a header with a "Close" button to be ...
1
vote
0answers
265 views

List Button is not passing parameter in URL for a particular profile

I have a list button on a related list of custom Object ABC under Contact object which redirects to a VF page (custom record creation page for ABC). I am passing contact id in the URL so that contact'...
1
vote
0answers
347 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 ...
1
vote
0answers
22 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
0answers
335 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
0answers
126 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 ...
1
vote
0answers
299 views

Encoded characters break the VF Page

I have faced an error when using the character encodes in URL parameters. We are using TUPAS verification in our Salesforce customer community. When the user authorizes with the bank codes he got ...
1
vote
0answers
219 views

Internal user access to community record link

I am working on a requirement where I need to update the link of the attachment to a field in the parent record. I have used "getSalesforceBaseUrl" to get the URL and updated the attachment link in ...
1
vote
1answer
902 views

“force:navigateToURL” inserts “?source=aloha” in the URL which breaks page

My Lightning Component app uses navigateToURL to allow lightning users (in a browser) to edit data in custom objects: navigateToEdit : function(cmp, event, helper) { var articleId = cmp.get("v....
1
vote
1answer
366 views

Automatic GA tagging breaks some urls

we asked Salesforce to activate the automatic tagging for our urls in mails for our business units. But after the activation of the feature (utm_medium, utm_source) some of the links coming from a ...
1
vote
0answers
94 views

Salesforce base url returning upper case URL characters

I'm trying to publish Knowledge article in Salesforce with REST api call by : URL.getSalesforceBaseUrl().toExternalForm()+'/services/data/v25.0/knowledgeManagement/articleVersions/masterVersions/'+ ...
1
vote
0answers
47 views

Can I trigger a click action when an email to case case is submitted?

When an email to case is generated for a specific case origin, I would like to also trigger a click action to a URL that is coded to create an external case in a different system. Note: this URL is ...
1
vote
0answers
31 views

Social Post URL redirects to user's personal Facebook messages, not the Connected Social Account's Messages

When a user clicks on a social post that was created by an inbox message, it redirects to the user's personal Facebook messages page. We expect the URL to open the messages page for the managed page,...
1
vote
0answers
779 views

Lightning related list custom buttons not showing

I have a custom URL button on the related list of OpportunityLineItem, in classic it works perfectly fine and my list only shows the custom buttom alone, which is what i want. But in Lightning it does ...
1
vote
1answer
222 views

Microsite default URL

I have created a new business unit in a common parent business unit. I have created a microsite in the new business unit. This business unit does not have the same default URL as the other. I can ...
1
vote
2answers
2k views

NavigatetoURL Visualforce page for Salesforce1

Is there a blanket template covering the ability to create visualforce pages (containing navigatetoURL code) for internal company URLs that can be used on the Navigation tabs on Salesforce1?
1
vote
0answers
346 views

Get image from documents with file extension

I would like to get the URL from an image to display in a page that is going to be rendered as .doc. My problem is that while PDF is easy to render, just setting the renderAs attribute on the page, ...
1
vote
0answers
102 views

NPSP URL Buttons don't display in Lightning

I'm using the latest version of the NPSP and noticed that URL buttons are no longer supported for custom actions on related lists when in Lightning mode. This causes an issue because the org I'm ...
1
vote
0answers
739 views

Page Redirect in Community Pages

I have enabled Chatter Answers to override the change password page. This is working fine, on click of the link from email it is landing on the change password page. In the controller of change ...
1
vote
0answers
496 views

Getting 400 Bad request on sending request to iam.amazonaws.com

I trying to create user from Apex in AWS/IAM. For that I have created URL according to description given aws in its documentation and I am doing this with get method. But issue I am facing is that,my ...
1
vote
2answers
805 views

Resetting the Salesforce Marketing Cloud URL Expiration

I am trying to reset the URL Expiration timeframe. The Admin/Send Mangement/URL Expiration page notes: Adjusting the timeframe to a time that is greater than what is currently set will cause ...
1
vote
1answer
178 views

Get Org URL Via Web Service

I've created a REST web service on Salesforce and exposed it as a public service (Using Sites). Now I am consuming this service from an external web site. I need to get the Salesforce base URL inside ...
0
votes
1answer
21 views

Align text with url in the same line

I'm trying to align the text with the url both inside span tags, don't know why the alignment stopped working when I started using the url as second element, any ideas? <template> <div ...
0
votes
1answer
12 views

Prepopulate a lookup field when the new button is pressed

I am trying to prepopulate a lookup field when the user presses the "New" button. This object is in the related list of another object. Those two objects are part of a managed package. The ...
0
votes
2answers
32 views

redirect external url in visualforce page

I want to add a custom link in output text and it will redirects to external url. So I added below code., <apex:outputText><td><div><a href="#" target="_blank" ...
0
votes
0answers
9 views

Is it possible to find out Standard Page Layout mode(View/Edit) from Inline VF page Controller?

I have added inline VF page on Standard Page Layout. What I am looking for is to fetch main record url from inline VF page. I don't want inline VF page url. So lets say if I navigate to record then ...
0
votes
0answers
7 views

How to share files publicly without exposing the salesforce URL

I would like to know if there is a way to make the URL masked or not exposed when adding it to the URL. For example, I have a community page where I hyperlinked my public files and the problem is, ...
0
votes
0answers
16 views

Hyperlink in Datatable with parent id

I'm working on a Lightning:Datatable to made a column url type. I'm unable to see the hyperlink when the reference is parent field API from query. The hyperlink is defaulting to the record Id instead ...