Questions tagged [redirect]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
53 views

Navigate back to CPQ edit lines from VF page triggered by custom action

I have a custom action (open in a popup) within the CPQ configurator that triggers the VF page with LWC inside. After some action is performed I want to navigate back to the Edit Line page. I tried ...
1 vote
1 answer
183 views

REST Request is rejected since Winter 23 hit the preview enabled sandbox

REST Requests seem to be rejected by SF since Winter 23 hit our preview enabled sandbox. Below sample code runs (run on Exec. anonymous) smoothly in v54 sandbox, but fails with below error in v55 (...
0 votes
1 answer
39 views

Passing subscriber data from Email to Cloudpage in Different BU

I currently try to do the following: If a subcriber hits a button in the email i want to pass- the subsciber information from Email into a CLoudpage which is in a DIFFERENT BU. CloudPageURL function ...
0 votes
1 answer
29 views

redirected deleted classic landing page "URL" to cloud page [closed]

it is possible a deleted classic landing page "URL" redirected to Cloud Page SFMC. thanks
  • 3
0 votes
0 answers
30 views

Redirect to a record page with a certain tab already open

I want to to redirect my user to the record page after a visualForce page, but I don't want to be redirected to the usual record detail tab open. I want to be redirected to the same page, but with the ...
  • 89
0 votes
1 answer
65 views

SmartCapture form doesn't redirect to target page in iframe tag

I have a SmartCapture form created in a cloudpage. Whenever a person fills the form and submit, it will capture information and redirect to a thankyou page (also a cloudpage). It works well until I ...
  • 186
0 votes
0 answers
28 views

How to retain listview checkbox selection on cancel button

I have custom list button on custom object listview page. I am selecting records and passing the record IDs to the aura component using VF page. On aura component I have two buttons (cancel, Okay). On ...
  • 119
0 votes
1 answer
219 views

Closing the lightning tab where redirected from LWC component

I am calling a lightning aura component from a LWC component . connectedCallback() { let recId = this.recordId; console.log('recid',this.recordId) this[NavigationMixin.Navigate]({ ...
  • 197
1 vote
0 answers
35 views

Redirect AMPScript

I'm trying to do a survey and the user must be redirected to two different pages based on the answer given in the previous page. The Data Extenction field "consumiCarne" is a Text Field and ...
0 votes
0 answers
1k 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 ...
  • 963
0 votes
0 answers
108 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
552 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
68 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
179 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)=...
  • 15
0 votes
1 answer
470 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"...
  • 427
0 votes
0 answers
100 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
3k 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
61 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 ...
  • 191
0 votes
0 answers
16 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
96 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....
  • 9
-1 votes
1 answer
73 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
156 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
1 answer
96 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
1k 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
219 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
228 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. ...
  • 431
0 votes
2 answers
1k 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" ...
  • 43
0 votes
1 answer
943 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
159 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
85 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
418 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-...
  • 23
0 votes
1 answer
509 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 ...
  • 127
0 votes
0 answers
200 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
385 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 ...
  • 3
1 vote
0 answers
915 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
314 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' ...
  • 71
3 votes
0 answers
484 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
335 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
718 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
471 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'...
  • 3,245
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) { ...
  • 466
0 votes
1 answer
771 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 ...
  • 13
0 votes
1 answer
334 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....
  • 1
0 votes
1 answer
299 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
294 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
205 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
3k 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 ...
  • 2,184
1 vote
1 answer
175 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
993 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 ...
  • 105
0 votes
1 answer
199 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
2 3 4 5