Questions tagged [url]

referring to the web path url or uniform resource locator

74 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
2answers
405 views

Is there an URL-pattern in LEX similar to /apex/NameOfVisualForcePage?

In Aloha the URL /apex/NameOfVisualForcePage lets Salesforce show the VF-Page named "NameOfVisualForcePage" Assume LEX = Lightning Experience and SPA = Single Page App I know LEX is SPA, but that ...
5
votes
0answers
573 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
2answers
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
255 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
2answers
3k 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
291 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
318 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
94 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
29 views

Folder Structure in CloudPage Personalized URL

In the classic Microsites, we were able to add a "folder"-like structure to the personalized URL, i.e. https://pages.s7.exacttarget.com/foldername/something/ But in CloudPages, if you try to do the ...
2
votes
1answer
245 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 ...
2
votes
0answers
108 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
809 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
1answer
431 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 ...
2
votes
0answers
153 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
1answer
2k views

How to get the page URL from a Visualforce page in Lightning?

In Salesforce Lightning, all pages are opened as iframes, so the issue of inability to access the parent page URL arises, but I would like to know if there are any work-arounds. My requirement is to ...
2
votes
0answers
399 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
63 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
190 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
11 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
47 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
72 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
19 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
114 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
106 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
121 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
160 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
675 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
166 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
82 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
35 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
27 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
717 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
205 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
304 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
97 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
674 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
485 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
636 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
135 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
0answers
19 views

I am unable to redirect my communities page

I am trying to redirect a URL due to capital letters in the URL, but it is not working. Below is a screenshot of what I have currently.
0
votes
0answers
35 views

Call a 2-column Flow and redirect it to the created record

The requirement is to launch a two-column Flow and use the flow output variable to redirect the user to the created record. I tried calling the Flow via URL (from a Custom Button) using retURL but ...
0
votes
0answers
39 views

Create a link on an external website using URL parameters?

I have an application external to Salesforce where I want to embed a link with a URL parameter with the Customer ID, that will redirect to the Salesforce account page in a new window. Something like ...
0
votes
0answers
15 views

Pass URL params into a flow that is inside a community

I am trying to populate a flow so it can be publicly available to all users - without a login. I am doing that from a community - making this a public community as explained here: https://help....
0
votes
0answers
34 views

URL Redirects that contain query params

Here's an example and real case scenario: www.example.com/s/somepage?query=12345 (The page I want people to land on) The front-end setup is using community pages Scenario: www.example.com/somepage ...
0
votes
0answers
24 views

Access to {!CurrentPage.parameters} from Visualforce page in LEX

I can't seem to find documentation on this anywhere, but when you create a visualforce tab and access it in lightning experience, it doesn't seem to have access to URL params via the {!CurrentPage....
0
votes
1answer
223 views

Open Lightning component in new tab or window with standard Action button using URL

Trying to create an Action button to be placed on the record detail page, I want the functionality as click on that button, lightning component URL should open in a new window. Using this link: /...
0
votes
1answer
21 views

Event fired when user redirects to home : exists?

Heyo all, I am working on a Lightning Community. I need to detect whenever the user goes to the main page (clicking page logo, home ling, whatever...). I tried the following events : <aura:...
0
votes
0answers
109 views

possible to pass URL parameter to visualforce component on lightning page

I have a lighting page in a lightning community(overriding a record detail page). The lighting page contains a Visualforce Page Component. The visualforce page receives the recordID but I'm also ...