The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [redirect]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Cannot login to my developer edition (ERR_TOO_MANY_REDIRECTS)

How does one get around this persistent issue of too many redirects? Here are the list of ways I tried to resolve the issue: Login via Google Chrome (normal & incognito mode) Login via Microsoft ...
2
votes
2answers
37 views

How to redirect user from one community to another using Login Flow without needed to re-authenticate?

How do I go about creating a Login Flow that redirects a user from one community to another without needing to re-authenticate? We are beginning to roll out an updated community, and before upgrading ...
0
votes
0answers
32 views

MobilePush SDK - Redirect To Web URL

As you all may know, there is an additional configuration in the mobile push SDK required for handling push messages redirection to a custom URL from an external source. Following the link: https://...
0
votes
0answers
20 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.
2
votes
1answer
49 views

Overriding the final destination of the OAuth2.0 flow from a custom OAuth2.0 Auth provider

Background: I have created a custom Auth. Provider in Salesforce to reach out to an authorization server that isn't on the default list of Provider Types. I used https://developer.salesforce.com/docs/...
0
votes
1answer
32 views

Visualforce redirect error “Cyclical server-side forwards detected”

On my Opportunity object, I have one Record Type that I am looking to redirect to a custom Visualforce Page & Controller. The other Opportunity Record Types can stay defaulted to the standard page ...
1
vote
1answer
23 views

Visualforce Redirect for single Opportunity Record Type only

On my Opportunity object, I have one Record Type that I am looking to redirect to a custom Visualforce Page & Controller. The other Opportunity Record Types can stay defaulted to the standard ...
0
votes
0answers
20 views

ApexPages.message not showing in first VF when redirect to another

I have two VF with the same controller, the second one I used it as a CSV file, I need that in the First VF a Apex.Message shows and then downloads the CSV file. Part of the Controller. ...
1
vote
0answers
37 views

e.force:editRecord in Flow - e.force:navigateToSObject

I have a Lightning Component with a controller that uses e.force:editRecord, which I've added to a Flow after create record action. After saving the record on the editRecord screen, I would like to ...
1
vote
0answers
32 views

Prevent lightning Community user navigating to standard Salesforce page by hacking URL

I have a situation where community user can edit the URL and access standard Salesforce record page by using the query parameters. I want to control it. This is somewhat related to the discussion on ...
0
votes
1answer
43 views

Lightning Component redirecting to record it is creating

I am trying to create a new record using a save button on a lightning:recordEditForm Im am fairly new to coding lightning components and have come to a bit of a standstill trying to get it to ...
0
votes
0answers
16 views

Aloha Redirect Unauthorized Error - How do I control it? Can I turn it off?

Inherited a project that is using Javascript embedded into a Visualforce page that is basically creating the entire layout of the page. Within the Javascript (which creates most of the HTML ...
3
votes
1answer
60 views

Redirect to VF Page not firing

Good day, I posted this over on the Salesforce Dev community forums but have gotten no responses. I'm hoping someone here might be able to assist. We have a call center application integrated with ...
0
votes
0answers
20 views

Can't redirect to custom report from community

I have a lightning component that redirects to custom reports including filters if needed and it's included inside one of our salesforce communities. The issue is that the generated URL works fine ...
0
votes
1answer
38 views

How to redirected to previous page by clicking a lightning button?

I have a Lightning component for custom login page after passing login details navigate to some details page. There I have a button called "goBackToLoginPage".How to implement this logic please help ...
0
votes
0answers
26 views

Form Redirect with params to controller

I have a 3rd side that makes a redirect to my VF page (A Force.com Site) with params. <form id="AFormId" action="A Force.com Site" method="post" target="_parent" enctype="application/x-...
0
votes
2answers
41 views

Visualforce commandLink not working when opening in new tab

I have this commandLink in my visualforce page <apex:commandLink value="{!Order.Name}" onclick="window.top.location='/{!Order.id}';"/> When I simply left click the link it redirects just fine. ...
0
votes
0answers
65 views

Cannot get session id in lightning component

I am trying to call a REST api from lightning, however i am getting 401, Unauthorized error. I know this question has been asked previously, but the solution they offered was to use a visualforce ...
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
1answer
246 views

How to bypass login page in URL redirects after SSO setup

After SSO is set up, when I tried to redirect the user to the second Salesforce org, it takes the user to login page. Do I have to do any more authentication before redirection? my controller is below....
0
votes
1answer
56 views

Redirect Users to New Record

Basically, I am creating a record type called 'Pre Opportunity'. When a user moves this opp to the stage 'Rescheduling', I am creating a new 'Pre Opportunity' record. I want to redirect the users to ...
0
votes
2answers
44 views

Account Redirect page for EDIT is working for VF pages but for standard layouts its malfunctioning

The below Account Redirect page for EDIT is working fine for VF pages but for standard layouts after editing the record it is not returning home page instead of account detail page. Am i missing ...
1
vote
1answer
972 views

Prepare LWC after page has redirected and came back

I have a simple LWC with a button embedded in a record's FlexiPage that redirects the user to another URL-addressable component: HTML <template> <template if:false={loading}> ...
0
votes
0answers
21 views

Redirect from visualforce with basic authorization header

Is it possible to send a Basic Authorization header from a visualforce page and redirect a user to a different non-sf site? If not any way on how I can do this? I was able to send a HTTPRequest with ...
0
votes
0answers
17 views

communtiy URL Redirecting to another community

I have 2 active communities in my org. When I log in using second community, it is redirecting to First Community URL. instead of https://my-domain/community2name, it is redirecting to https://my-...
0
votes
1answer
166 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
60 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
49 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
22 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
36 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
1answer
64 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
314 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
182 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
250 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
291 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
243 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
47 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
209 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
640 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
197 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
445 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
1k 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
1answer
66 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
155 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
47 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, ...
1
vote
0answers
377 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
2answers
1k 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
465 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
591 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
525 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 ...