Questions tagged [redirect]
The redirect tag has no usage guidance.
224
questions
0
votes
0
answers
107
views
Navigate to external url from LWC (iframe)
Pretty new to LWC
I have a site that I wrote with LWC: VF page -> Aura -> LWC.
This site is a form that is used on an external web page.
I'm trying after submitting the form, to navigate the ...
0
votes
0
answers
30
views
How to navigate to a commerce cloud site from an experience cloud log in page
We're trying to redirect our users to the new commerce cloud page after logging in through the experience cloud log in page but it seems that the in order to properly redirect we need to have ...
1
vote
2
answers
110
views
LWC Quick Action - Can we determine which Action button invoked the LWC component?
I've written a LWC Quick Action with corresponding JavaScript & Apex Methods. I want this component to be invokable from 3 separate Action Buttons on a record page. In all 3 actions, I want it to ...
0
votes
0
answers
58
views
Omni-Supervisor loops when redirected
I have a problem regarding Omni-Supervisor. I've implemented a flow that fires a custom bell notification when something happens. When the user clicks this notification, it should redirect them to ...
0
votes
1
answer
84
views
Redirect to Cloudpage using Page ID on a Lookup script
Hi All,
I would like to request assistance on how I can redirect to a page using the CloudPagesURL value on a Lookup script?
I'm not sure if my code here is correct?
%%=Redirect('%%=CloudPagesURL(400)=...
0
votes
1
answer
142
views
redirect relatedlist button back to relatedlist view after the flow is completed
Premise:
I have to delete the records of a custom object(custObj__c) from Opportunity's related list (there's a master-detail relationship between custObj__c and opportunity). Only "selected"...
0
votes
0
answers
36
views
Navigate to different Home Page on Experience Cloud Community which uses Password less Login Discovery Page on Mobile and on Desktop
I am using the standard Login Discovery Page for Passwordless Login in Community for Sign-up/Login. The same community is hit on the desktop to open a different view of reports, and we also use an ...
0
votes
1
answer
1k
views
Redirect to listing/record page onclick on Cancel button or Save save button LWC
Iam working on LWC component.
On NEW button click LWC component opened.
Enter data on fields and click on 'Create Account' button, it should redirect/navigate user to 'listing/record' page.
OR click ...
0
votes
0
answers
41
views
Is there a way to create SiteRedirectMapping records via apex code?
In an attempt to bulk create a large sum of URL redirects I am wondering if there is a way to do so via apex?
I have tried running the below code but it throws an exception, DML operation Insert not ...
0
votes
0
answers
12
views
Redirect Urls without www
The marketing team has requested a vanity url: <domain.com>/gift
I was able to set up the redirect url here: sites -> site details -> URL redirects
https://www.domain.com/gift redirects ...
0
votes
0
answers
51
views
Can I Enable Self-Registration Redirection in Conjunction with SSO?
I have a question about Salesforce registration redirection capabilities and I am getting unclear answers from my googlings. Here is the situation: When an anonymous user at our partner site partner....
-1
votes
1
answer
38
views
Provision for ordering of parameters on redirection of URL
I am simply redirecting to a public page from apex using a method of pagereference return type. There are certail parameters that I need to pass during that redirection. The problem is that the ...
0
votes
0
answers
13
views
How to stop redirect and stay on service contract page on editing a contract line item on sales console?
This issue is happening on the sales console only. I am wondering if is there a way to stop redirect and stay on the service contract page on editing a contract line item. While editing a contract ...
0
votes
0
answers
70
views
Cannot read URL parameter from LWC if 'c__' not added to the link
I have a salesforce tab that contains a search screen, now some external system is redirecting users to this page. When the external system redirects the user to the salesforce screen it appends a ...
0
votes
0
answers
114
views
Required fields are missing: [LeftOperand] Referrer Bot Id
I cannot utilize Referrer Bot Id. Obviously, at first the variable is not set, but it is later after being redirected to. I did check that if the variable is accessible and in fact the bot returns the ...
0
votes
1
answer
48
views
Force.com URL redirects for detail page?
I have a requirement where I should not let customer community users see pages like communitydomain/s/recordlist/Contact/Recent and /s/detail/{recordid}.
Is there any way I can achieve this? I tried ...
1
vote
1
answer
819
views
Deeplink redirect after community SSO login
We are using the "Social Login" Component on a custom Experience Builder Page (EBP);
With a very standard SSO setup;
The tick box for the specific SSO is ticked in the Community(Site) ...
0
votes
0
answers
179
views
Community redirect not working when user clicks on link on page but works when URL entered directly in browser address bar
I setup a relative redirect via Salesforce Community SiteBuilder. The redirect works successfully if I enter the URL directly in the browser address bar and press enter. However, if I have the "...
0
votes
1
answer
89
views
Run flow from visual force page
I created a visualforce page with an embedded flow. If the flow is finished the new record is opened. So far so good the flow works fine, but the seconed screen with the finish button is not so good. ...
0
votes
2
answers
896
views
redirect external url in visualforce page
I want to add a custom link in output text and it will redirects to external url.
So I added below code.,
<apex:outputText><td><div><a href="#" target="_blank" ...
0
votes
1
answer
214
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
1
answer
112
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
1
answer
59
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). ...
1
vote
1
answer
299
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-...
0
votes
1
answer
358
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
0
answers
151
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
1
answer
224
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
0
answers
759
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
1
answer
216
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
0
answers
444
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
1
answer
283
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
1
answer
565
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
1
answer
398
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
5
answers
1k
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
1
answer
623
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
1
answer
251
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
1
answer
230
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
1
answer
231
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
1
answer
162
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
2
answers
2k
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 ...
1
vote
1
answer
158
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
1
answer
902
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
1
answer
156
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 ...
1
vote
0
answers
371
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
1
answer
647
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
0
answers
70
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
0
answers
730
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
1
answer
240
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
1
answer
224
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
2
answers
865
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 ...