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
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [redirect]

The tag has no usage guidance.

0
votes
0answers
26 views

Redirect to another page when agent is offline

Is it possible to navigate user to contact us page when user clicks on offline button? I tried to do that using JS, but it opens pop-up and then redirects user. Is is any clean way to redirect user?
0
votes
1answer
16 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
16 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
27 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
41 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
28 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 ...
-1
votes
0answers
16 views

Redirect a VF page after a CSV is created

i need some help as I am trying to redirect a VF page to a List view on a custom Object, first i will show what I've done on the VF Page: <apex:page controller="SageCsvFileController" action="{!...
0
votes
2answers
29 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
50 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
79 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
68 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
177 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
132 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
529 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
27 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
63 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
42 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
35 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
215 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
30 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
610 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
0answers
230 views

Redirect to a relative URL in Lightning

I am trying to being re-directed to a relative URL in Salesforce on click of a button in Lightning. I am using e.force:navigateToURL. However, this does not seem to be working. Could someone please ...
0
votes
1answer
297 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 ...
0
votes
0answers
187 views

Prepopulate Account name when creating contact using Lightning Component

I have created a lightning component form to insert Contact record which is having Account Name, First Name, Last Name, Email and all the necessary form fields. I've overridden the Contact object "...
0
votes
0answers
28 views

Redirect url save url?

I have a doubt regarding RedirectTo function. %%[ Set @area_invio_file_root = Lookup(@DE_url, @locale, "ID", 4) Set @divisore_mark = Lookup(@DE_url, @locale, "ID", 8) Set @par_oid = ...
1
vote
1answer
365 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
386 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
174 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
167 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
458 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
261 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
748 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
61 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
46 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 ...
0
votes
1answer
281 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
56 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
45 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
531 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
199 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
373 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?
2
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
4k 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
881 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
471 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
166 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
146 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
269 views

Salesforce redirects the knwoledge 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 ...
1
vote
1answer
143 views

Salesforce Customer Community and EC (error code) 301 Redirect

We are working on a Napili Customer Community. Sometimes I find that the site is redirecting to a ec-301 page: It seems to occur if I shut my laptop with the site open, and then come back the next ...