Questions tagged [redirect]

The tag has no usage guidance.

84 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
223 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 ...
4
votes
0answers
819 views

Live agent disconnection of a chat

3 weeks ago I deployed Live agent in a Salesforce org. Since then, everyday, all day long, there are about 5 agents in the console waiting for someone's chat contact. Recently, we have been starting ...
4
votes
2answers
2k views

VisualForce apex:relatedlist - button redirection

I am having a little problem with visualforce and displaying a related list. The task is to display account related contacts and opportunities as a related list on a custom object. Account is a look-...
3
votes
0answers
191 views

Redirect from LWC embedded via Visualforce in Page Layout fails

I have an LWC component that needs to log in via an OAuth flow before it can be used. If unauthenticated the component first redirects to an external Login page after the user clocks a button. <...
3
votes
0answers
590 views

Lightning experience embedded page redirect

I've got a VF page embedded into page layout. It redirects user to other VF pages (depending on user action) inside an iframe on page layout. In LE such PageReference redirects sort 'step out' from ...
3
votes
0answers
2k views

The target origin provided does not match the recipient window's origin

I am getting below error in console when I try to open a Visualforce Page. AuraAlohaFrameNavigator.js:5Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://ap2....
3
votes
0answers
2k views

Lightning Experience gets 'stripped' when redirecting from Visualforce page

I`m struggling to fix an issue which arise with the new Salesforce Lightning Experience. So, I have a Visualforce page which is assigned to the Edit functionality of Accounts. In Salesforce Classic ...
2
votes
0answers
1k views

Redirect to custom tab in lightning experience

I have custom tab in lightning experience that include lightning component. How can I redirect to this tab using client controller? URL of this tab: https://kasyan-dev-ed.lightning.force.com/one/...
2
votes
1answer
1k views

Redirecting from Controller to standard list view page?

I'm using a custom_object and once the user save I want that page to redirect to list view page but what is happening is that right after i click save button i see the white blank screen with the ...
2
votes
0answers
142 views

APEX Redirect as intended

I have the following issue, I had a redirect that was working perfectly, see the below code: PageReference pr; if(opp.RecordTypeId == sgiRT || opp.RecordTypeId == apacRT){ if(!opp....
2
votes
2answers
354 views

Using iframe to display VF page - Back button triggers resubmission

I have a force.com sites set up and am using an iframe on our website to display a VF page. After record submission I want to redirect the parent window to a Thank You page. So far I have this ...
2
votes
0answers
450 views

redirect to mobile detail page layout from flow

I am creating a custom object record via a flow. At the end of the flow, the user is redirected to the detail of the record that has just been created in order to add some attachment. Users will use ...
2
votes
2answers
263 views

Navigate site.com studio page to a force.com page

I have a Site.com page and a Visualforce page There is a link in the Site page which needs to redirect to the Visualforce and vice-versa. Is this possible? How?
1
vote
1answer
52 views

Community home page redirect has stopped working

I implemented a redirect from the community home page to the logged in user's account page on our customer community following this blog post: https://www.crmscience.com/single-post/2016/09/26/Dynamic-...
1
vote
0answers
154 views

Marketing Cloud UTM issue: Parameter Manager + Redirect issue + AMPscript

Im facing a redirect issue in my MC email links. Steps to reproduce: Creating a dynamic link with AMPscript Example: SET @magentourl = CONCAT('https://www.example.*/cart-link/cart/restore?token=',@...
1
vote
1answer
69 views

Authentication Vulnerability Issue with Page Redirect

We are using a third party company to scan our salesforce code for SOQL Injection and Vulnerability issues with open page redirects. The below code is flagged as a vulnerability. public Pagereference ...
1
vote
0answers
315 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
1answer
24 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 ...
1
vote
1answer
450 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
vote
0answers
317 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
0answers
284 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:...
1
vote
0answers
528 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 ...
1
vote
0answers
117 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 ...
1
vote
0answers
212 views

How to redirect after HttpRequest POST?

In a Visualforce controller, if I need to do an HTTP POST and redirect to that same URL, how do I do it? Here's the situation: currently the client has a plain HTML form (standard HTML form and input ...
1
vote
0answers
60 views

How to customize or prevent community user from seeing default 'URL No Longer Exists' page

I am developing community. We have customized all VF pages with html/css. I have custom login page, and to prevent user from seeing default login page, I have created URL redirect from '/login' to '/...
1
vote
0answers
93 views

Doing 301 redirect not just for a single page but for the whole site?

I would like to redirect my whole site to an homepage of another site. I know I could do this in javascript but I prefer to have the 301 Redirect for SEO reasons. How could I do this while mantaining ...
1
vote
0answers
438 views

How can i get redirect same page without refresh?

I have created visual force pages in added in related object page layout. Once I select the record and save it not redirect the page. Why this happening? How can I resolve this issue. Please can any ...
1
vote
0answers
1k views

Why does setRedirect(false) on a public page(Site) is not working?

public EventsController(){ eventId = ApexPages.currentPage().getParameters().get('id'); } I got this first vf page button: <apex:commandButton action="{!BookerInformation}" value="...
1
vote
0answers
436 views

sendRedirect is redirecting only Home page component but not Home page wholely

i was developing a home page component (for searching records) which will take any id of a particular object and redirects to the object if the id matches to any of the record id.But this is working ...
1
vote
0answers
639 views

Correct redirect_uri for Google Sheet (not web app)?

We have several Google Sheets that interact with Salesforce, all now broken with ouath1 deprecation. I've found lots of examples of oauth2 for web apps, but I can't make it work with a Google sheet. I ...
1
vote
0answers
747 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 ...
0
votes
0answers
29 views

SAML Connected App - Bad redirection

We're using Salesforce as an identity provider so that SF users can log in to our Zendesk. So we set up a connected app "Zendesk" and set up the SAML part. The connection is functional for ...
0
votes
1answer
14 views

Error in Soap response- The URL has moved

We have a legacy system connecting to us. Before saving the actual tender details they check the connection with Salesforce. They are getting error shown in response below. And on UI it shows that ...
0
votes
1answer
18 views

Redirect community users from one domain to another (same org)

We set up communities in our system to differentiate between regions. So we have a domain set up for .ca and another .com Example: mycompany.community.ca mycompany.community.com We have learned that ...
0
votes
1answer
23 views

Naviagtion Mixin not working after imperative save

On my community page(A) I have a LWC component with a button which onclick will call an apex method to create a record. If the create is successfull it needs to redirect to another community page(B). ...
0
votes
0answers
17 views

LCC Quick Action Button No Longer Redirecting

I have a Quick Action button on an object record page that redirects the user to a Visualforce page when clicked. It was auto-generated from a Javascript button by this Salesforce tool: https://help....
0
votes
0answers
66 views

programatically invoking lightning edit page is not opening the record in edit mode

The VF page has a redirect action which redirects to a lightning component which opens the record in edit mode. VF Page code - <apex:page standardController="ZTS_EU_Affiliations__c" ...
0
votes
1answer
62 views

SITE URL REDIRECT WITH DYNAMIC PARAMETERS (Public Access Page)

I'm trying to implement URL Redirect in sites along with dynamic parameters and this is not working. Working scenario : with no dynamic parameter. Below scenario works fine when this is no dynamic ...
0
votes
0answers
30 views

Force.com Site URL Redirect Lightning Community

Does the Force.com Site URL redirect only work with the actual Force.com Site and not the /s Lightning Community? For example, if I create a redirect from /s/foo to https://www.google.com and ...
0
votes
1answer
54 views

SSJS redirect error 500

I'm using a simple SSJS code to redirect according to an API call results. But I keep getting error 500. Problematic code: if(ContactId == 'null'){ var errorURL = 'https://errorURL.com' ...
0
votes
1answer
63 views

Communities Redirect Apex

I have a site called support.domain.com lives in one org And i have build a community with same content called support.domain.com/s/ in different org i am trying to retraid the old site and use the ...
0
votes
0answers
19 views

Importing Redirects

I have a list of redirect url's that I want to import into Commerce Cloud (18.10). I have exported the existing redirects from Commerce Cloud (Administration > Site Development > Site Import &...
0
votes
1answer
102 views

Passing value with InsertData to the DE in Cloud Pages with AmpScript doesn't work

I'm trying to create a technical and completely empty landing page in Cloud Pages that's going to be used for passing values to a Data Extension and then redirecting the person to website. I'm new to ...
0
votes
1answer
48 views

Button Override - Redirect on Create of Custom Record

When a user creates a new record I want to either A) redirect them to a page that says "success" or B) redirect them back to the home page with an alert that says "success". I don'...
0
votes
1answer
80 views

How to display the error message and redirect to the other page at the same time?

Hi I'm trying to display error message which is sending by external system (Not from salesforce) and at the same time i want to redirect to another page. Here is my code. else { if(error....
0
votes
1answer
78 views

How do Site URL Redirects work?

I am currently working for a company that is in the middle of a name change and we are changing the My Domain as well as our custom URLs to the new name. I would like to redirect previous custom URLs ...
0
votes
1answer
44 views

Open Page Redirect Issue

We are using a third party company to scan our salesforce code for SOQL Injection and Vulnerability issues with open page redirects. The below code is flagged as a vulnerability. Id id = ...
0
votes
0answers
21 views

Redirect to external URL when attempting to access a community you do not have access to

We are interested in configuring is a way to redirect a user who attempts to access an internal community, and does not have the permission needed. This redirect would go to a page outside the ...
0
votes
0answers
74 views

When redirect using sforce.one.editRecord or navigateToSObject after Save (standard) prevent it from redirect back to the previous LWC/VF

I try to google for this case but still not able to figure out. Maybe I use the wrong key word. The background : I am using LWC in Visualforce page and because Navigation does not work so I use ...
0
votes
0answers
39 views

Lightning Component to check Account Object value, and send to dynamic URL based on value

I am hoping someone can help me out with my custom Lightning Component - as the support team have been unable to actually help with code, but have sent several articles that seem to contradict each ...