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 [redirect]

The tag has no usage guidance.

0
votes
1answer
19 views

How to redirect to external url from apex from callout response

I have a class from which I do a callout in apex. After the response of the callout I want to redirect the user to an external url how can I achieve this?. I have only been able to redirect ...
0
votes
0answers
21 views

Implementing Single Logout (SLO) with OneLogin is Donwloading a file when arriving to /secur/logout.jsp

Situation: Implementation of Single Logout in Salesforce IdP: OneLogin ServiceProvider: Salesforce Protocol: SAML In our test environment, when we try to logout from a community we are redirected to '...
0
votes
0answers
12 views

Open window in same tab after the custom action from dashboard in Einstein Analytics

I have created a Dashboard with table contains Account Records. I have added the custom action "Account Update"in the lens to call my VF Page .It is opened in the new tab. Can i open the page in same ...
0
votes
0answers
9 views

LIghtning component with JS redirect causes problems in Community Builder

Is there any setting in Community Builder to prevent JS execution in a component while viewing or editing a page? I have a Lightning component that checks for the presence of a URL parameter during ...
0
votes
1answer
18 views

Redirect without needing to disable popups

I am looking for direction on how to redirect users to an external URL without them having to have their popups disabled. Below is my current code: if (feeDue == '50.00') { ...
0
votes
0answers
25 views

Saleaforce IOT: ESP8266 IoT device facing 302 Http redirect instead of 201 when calling REST API because of insecure HTTPS call

ESP8266 has been able to get OAuth token by Device Flow OAuth2.0 After getting OAuth token, I was hitting the REST API endpoint /services/data/v45.0/sobjects/Account with a JSON body in the request: ...
0
votes
1answer
31 views

Redirect to custom visual force page/action from a lightning component controller

I created a custom visual force page that I use to overide the standard NEW action in the list view of one of my custom object. I would also like to add a link to this custom VF page in the record ...
0
votes
1answer
30 views

Redirecting from javascript to custom url in callback function with Visualforce.remoting.Manager.invokeAction

I have a custom visual force page. I use Visualforce.remoting.Manager.invokeAction to post data and create a custom object on a custom Apex Controller extension. This action creates my custom ...
0
votes
1answer
47 views

How to close window automatically once the excel file got downloaded?

I have command button while clicking the button it will redirect to VF page where it will renderas data as excel also it will open a site.Once the excel download is completed,the window needs to be ...
1
vote
2answers
82 views

Redirect back to the VF page

In Classic: There is a New button on the VF page. On click of this button default new record create a page of the custom object gets open. On saving of the record, the page gets redirected to the VF ...
1
vote
1answer
45 views

Custom Button URLFOR not assigning proper record ID when clicked

I am trying to implement a custom button on a record detail page that does the following: redirect user to custom lightning component with querystring: ?projectId=... I am using the following ...
0
votes
2answers
33 views

Visualforce page is not redirecting to specific VF pages with associated record types

For Account, we have few record types. we want to have the related vf page displayed when a specific record type is selected. However, upon selecting a record type, the below vf page is not directing ...
1
vote
0answers
96 views

How to redirect to a different page from popup window in visualforce

I am displaying a popup window on visualforce page. My use case is to redirect user to a entirely different visualforce page after user clicks Yes button on popup. Currently, It just stays on the ...
1
vote
2answers
192 views

URL link to SF record from external system - LIGHTNING

I have a requirement to provide a link to an external system, which will link to an Account in Salesforce. The external system doesn't store the AccountId, but uses an externalId (UUID). The UUID__c ...
1
vote
0answers
101 views

e.force:navigateToSObject is behaving strangely

I am trying to navigate the user to the record detail page of selected account and opportunity. For this, I have written a lightning component named : RedirectToWizard Component code is <aura:...
0
votes
1answer
236 views

Redirect from lightning page to record page on classic

I'm trying to redirect from a lightning custom page to a record page in classic. I tried this var navEvt = $A.get("e.force:navigateToSObject"); navEvt.setParams({ "recordId": caseId, "...
0
votes
1answer
256 views

Redirect URI for authentication

We are integrating our Salesforce with one of the third party application and they are asking us to provide our Redirect uri (where they will send the token once authenticated). Im not sure what needs ...
0
votes
0answers
794 views

Need to open a record in new tab of the lightning interface

So basically i need to open a record in new tab of the lightning UI on click of an anchor tag ,but stay on the same browser tab. I am doing it using e.force:navigateToSObject but it throws an error- "...
0
votes
1answer
39 views

Override VF/Lightning standard action defined

We are in the process of migrating to Lightning. In our current solution we use on some objects the Visualforce override to view/edit the object record. For Lightning I would like to switch back the ...
0
votes
1answer
84 views

Visualforce - infinite redirection loop

I have the following Visualforce page that overrides the "View" action of a standard object: <apex:page standardController="Opportunity" extensions="OpportunityDispatcherCx" action="{!redirect}"/&...
0
votes
1answer
44 views

Send data from apex page to another apex page using javascript remoting

I have an apex page where I display a table with some information retrieved from an API, now I want to send information from the table when an user clicks a row from it, redirect to another apex page, ...
0
votes
0answers
50 views

Displaying to a Visualforce page inside an iframe

I've a problem displaying a VF page inside an iframe. In my app, the user can choose a Visualforce page that will be displayed inside an iframe (lets say inside a modal). My problem is generating the ...
1
vote
0answers
258 views

Refresh and show updated data on Standard related list from Lightning Components

I have a custom lightning component which resides on a different page than the standard record detail page in Lightning view. When the custom component opens up, it show a list of products which I ...
0
votes
0answers
37 views

Override “save behavior” of a custom object to redirect to its parent object

I have a custom object with a Look-up Relationship to its parent object in Salesforce Classic. When a user adds a new instance of the child object from the Related List on the parent detail page, I'd ...
0
votes
2answers
720 views

Lightning component quick action - redirect from Contact to User record detail page

I would like to know how to how redirect from Contact to related User record page via Lightning component quick action. Currently I have created Component which gets Contact record Id and passes it to ...
0
votes
1answer
348 views

Page redirection in same tab doesn't work with commandButton

I'm trying to get a button to open a standard record page in Salesforce classic view. I can get it to open in a new tab, but not in the same tab. I want to override the existing tab. Example of what ...
1
vote
1answer
404 views

Automatically redirect users to another visualforce page from Home Page

Consider that there is an org (using Salesforce Classic) where I've configured a Home Page Custom Component of type Visualforce Area – in which there is a visualforce page that does nothing but ...
-1
votes
1answer
440 views

Pre Populated Values (Date,Text Area) in Lightning by visualforce url [duplicate]

Hi everyone I have visual force page if user click proceed then I have to redirect to order object with some pre-populating values. I used sforce.one.createRecord ...
1
vote
1answer
1k views

e.force:navigateToURL

I want to send list of selected record Id's from a Lightning component to a visual force page. Is there any limit on length of url parameters when I use e.force:navigateToURL event and append record ...
0
votes
1answer
195 views

Re-Direct users to newly created opportunity in process builder

I have created a process builder which clones the opportunity when its 'closed won' from here The opportunity creates fine but I want the user to either be redirected to that opportunity straight ...
3
votes
1answer
193 views

Conga Merge URL points to the wrong domain (force.com vs. salesforce.com)

Is it possible to edit the URL that Conga Merge returns via a parameter? On my Opportunity I have a Javascript button that opens a visualforce page in a new window. This page allows users to select ...
1
vote
1answer
496 views

Visualforce redirect in Salesforce1 causes You can't view this page error

Problem: In Salesforce1, I have an Action button that opens a Visualforce page, which then tries to redirect to a second VF page. When this occurs I get an error in Salesforce1: "You can't view this ...
0
votes
2answers
339 views

Test Coverage With Flow and FinishLocation

After some research I found that is not possible to test your flow in a test class. Test ControllerExt for Flow and https://techman97.wordpress.com/2013/10/18/flow-and-finishlocation/ My logic ...
0
votes
1answer
898 views

Redirect to detail page lightning page

Ik have found this example of a controller directing to the account detailpage lightning component of account which works. I am trying to reproduce this for a custom component but my links shows /s/...
1
vote
0answers
68 views

direct and redirect iframe from relatedlist to detail and back

I have this visualforce page with 2 iframes in which i want to place a 2 different contact related list and be able to add new contacts on the detail page and be redirected to the related list in the ...
0
votes
1answer
51 views

Calling Process.Plugin Class In Another Class

I have a custom VFP button that runs a parent flow, that runs a sub flow. The finishLocation of the flow is a page redirect to a custom object. I can't seem to pull over the value of the ...
1
vote
1answer
319 views

Need to reload the same page so that the apex gets called again

I am overriding the Lead Convert functionality with a Visualforce page. Using custom extensions for the same. The functionality of the custom extension has been developed in such a way that, in the ...
0
votes
1answer
65 views

Two Vf pages, one controller

I have Vf pages on Opportunity and contact.i have continue button to redirect opportunity vf to contact vf. i want to auto-populate fields from opportunity vf page to contact vf page. i'm using one ...
0
votes
1answer
52 views

Redirect to Visualforce page after click in other Visualforce page

I'm creating a parent and multiple child records on single click from vfpage. Now I want to show that created parent and child records on another page. How can I do that?Any suggestion will be ...
0
votes
1answer
581 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
0answers
232 views

Redirect message for web tab in Lightning

I created a web tab which use an URL but in Lightnning, when I click on my web tab, I get a message that means I have to click on a button to be redirected. Below is the message : However, if I ...
1
vote
3answers
413 views

Redirect from visualforce to another without using apex controller

Is it possible to invoke a visualforce page from another visualforce, without using apex controller?
3
votes
2answers
2k views

urlEvent is undefined

We have below code being called from Cancel button on a Lightning component. We have used this lightning component on VF page. navHome : function (component, event, helper) { var urlEvent = $A....
3
votes
2answers
5k views

Redirect to the lightning new record creation popup

In lightning experience clicking on the "New" button for an object opens a new pop-up to fill the data and create that object Is there a way to redirect to/open that new record creation popup by ...
1
vote
3answers
988 views

Redirect from VisualForce page to the created record

On my VF page when I click on 'submit' button, I have pop-up with confirmation message. Then after clicked 'OK' button on this pop-up, I am redirected to the created record. Things are ok at this ...
4
votes
1answer
531 views

What callback URL to use to redirect back to VF page from External system

When setting up oAuth on an external system you need to provide a Callback URI for the external oAuth to redirect to. This URI must be static and passed in as a parameter to the oAuth call. When ...
0
votes
1answer
202 views

How can I redirect to the Contact's page after adding them to a Campaign?

List button url: /apex/CreateNewcm?save_new=1&noOveride=1&ContactId={!Contact.Id}&ContactName={!Contact.Name} Visualforce page: <apex:page standardController="CampaignMember" ...
0
votes
1answer
42 views

Not able to manipulate redirects in Visual force page

I have a custom tab which displays a vf page on opening and redirects further So I had to insert another page in between and update user record field and redirect to original location so I inserted my ...
1
vote
2answers
165 views

Test PageReference Partial URL

I have a few page redirects that do not want to work in my test class. The error I am running into is the partial URL reference. ERROR: System.ListException: List index out of bounds: 0 Class....
0
votes
0answers
299 views

Salesforce redirects the knowledge article URL in a Napiili Community to another version with 301 Status Code

I am facing a strange behaviour in a Community tailored with Napiili Template. The technical details of the community are: I have enabled 2 languages for my Community: English(UK)(knowledge default ...