Questions tagged [redirect]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
26 views

Redirect Cloud Page when string is in url

I’m looking to redirect a user from a Marketing Cloud Landing Page if a certain string such as "/eb=1&eb_timestamp=" is contained in the url. I’m struggling with this and would really ...
1
vote
0answers
30 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=',@...
0
votes
1answer
40 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' ...
3
votes
0answers
79 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. <...
0
votes
1answer
39 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
10 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
38 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
27 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'...
1
vote
5answers
157 views

SSJS Platform.Response.Redirect() throws unknown error: Error in Application

I am trying to understand why the following is happening: <script runat="server"> try{ Platform.Response.Redirect('http://www.google.com'); } catch(e) { ...
0
votes
1answer
26 views

Custom Button for Redirecting to another vf page

I want to create a custom save button.By Clicking this button, I should save the record and redirect to another VF page which I created to view. Please give me suggestions How to perform redirecting ...
0
votes
1answer
32 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
39 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 ...
1
vote
1answer
49 views

V49. Lightning redirect to specific tab

I'm creating a lightning component and need to redirect to custom tab after the user click on Accept button. I'm using this code but not working and it's is not supported handleSubmit : function(...
0
votes
1answer
21 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
2answers
225 views

How to redirect to URL from flow with invocable apex

I have a flow from which I want to call a visualforcepage with some parameteres in the URL. The flow calls the invocable apex and the pagereference method but does not redirect to the url but does ...
0
votes
0answers
16 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 ...
1
vote
1answer
34 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 ...
0
votes
1answer
55 views

How to set custom community login page with aura to default login page?

I created custom community login page via aura. I accessed to my community login page such as https://mycommunity url/communityname/login, but this URL is go to community experience builder's login ...
0
votes
0answers
42 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
29 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 ...
0
votes
1answer
62 views

URLFOR custom object redirect not working with communities

{!URLFOR($Action.CustomObject__c.List, $ObjectType.CustomObject__c)} is not working within a community whilst logged in as the community user. The page loads but onto the 'Invalid Page'. This ...
0
votes
0answers
72 views

Invalid Page Redirection

Good Morning, I have a problem with PageReference redirection to an inteneral visualforce page. When I press a JavaScript button it must call a flow and then redirect to an internal visualforce page. ...
0
votes
0answers
54 views

How to set Finish Location of flow to the community first page

I have two community pages. The first page is just a welcome page. The second page has the flow embedded in it. Once user clicks the flow "Finish" button, it takes user to the start of the flow, which ...
0
votes
0answers
18 views

links redirect when clicked on for no apparent reason?

In SalesForce Marketing cloud We have html emails coded as normal for marketing sends. For example, The link could be www.brand.com When emails hit the inbox, every link in the email displays as a ...
0
votes
1answer
112 views

Lightning Component Redirect

Good afternoon! I need to redirect the user to a new page from a click of a standard button. However, I need this redirection to be done in the same window. To do this, I created a button pointing to ...
0
votes
0answers
56 views

Winter 20 - Custom Override Redirect Issue

When I create a new Account I have a lookup field to Contact with a custom aura component override for the “New” button. The issue I’m having is that when the user is creating an Account and wants ...
1
vote
0answers
149 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 ...
0
votes
1answer
100 views

force:createRecord Lightning Component that functions in one Sandbox fails in another

Background I have a Lightning Action that initiates a Flow. The flow gathers record data, collects one variable from the user that is selected via a radio-button choice, then launches a lightning ...
0
votes
1answer
98 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
153 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
48 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://...
2
votes
1answer
153 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
199 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
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 ...
0
votes
0answers
24 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. ...
3
votes
0answers
187 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 ...
2
votes
3answers
406 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
702 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 ...
3
votes
1answer
169 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
45 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
1k 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
2answers
318 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
1answer
455 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
173 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
54 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 ...
2
votes
1answer
2k 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
1answer
634 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
1answer
74 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
91 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
1k 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 ...

1
2 3 4 5