Questions tagged [redirect]
The redirect tag has no usage guidance.
234
questions
0
votes
0
answers
28
views
How to redirect Partner Community URL(Impartner) to new experience cloud site?
Our company has Partner community hosted on Impartner Platform and now we are migrating to Salesforce Experience cloud. We want to setup redirects for the links from old impartner platform so that the ...
0
votes
0
answers
99
views
Redirect Urls not working for dynamic URLs in Aura community
Hello,
We will soon release a new version of a portal site with a new URL and to prepare correctly, we would like to set redirect Urls in Salesforce by using the "URL Redirects" menu on the ...
1
vote
1
answer
48
views
Inconsistent Button Visibility Behavior with NavigationMixin
I created a button in a custom object, with the Action Type set to Flow.
Then, I configured the action's visibility in the lightning page layout based on certain conditions.
When the conditions are ...
0
votes
0
answers
119
views
URL link to SF record from external system - Not working for Field
I'm working on an external app and i'm trying to add a link there to salesforce records/objects.
When I'm trying to redirect the user to any record/object/user, I'm generating the URL like that: https:...
0
votes
1
answer
618
views
redirect to visualforce page when flow finishes with embedded aura component
I am following the instructions here to have my flow inside my visualforce page render in lightning by embedding an aura component. I want to redirect the flow at finish to another visualforce page. ...
-1
votes
1
answer
63
views
RestResource HttpGet close new tab
I'm currently trying to work with an integration with an external API (Lansweeper). When trying to authenticate the API, I'm running into an issue where they authenticate through an external url (...
0
votes
1
answer
222
views
redirection don't work correctly (Navigation)
My component is in the record page of MyObj__c .
MyObj__c has a master detail with Account
I tried to navigate from MyObj__c to the account assorted bu I always get an error
Error : {"status&...
0
votes
1
answer
93
views
Change Link Wrapping Unique Identifier after email has been rendered
To conform with a new law, we now must provide customers the option to view received emails in multiple languages at ease. We have solved this by dynamically generating the content for other languages ...
2
votes
1
answer
1k
views
How to Redirect LWR Digital Experience Users to SSO URL Using URL Redirects?
We have a LWR experience site that was created before winter'23, so /s prefix exists for most of our pages and our home page url is something like this: acme.customer.com/s/
We use Google as the auth. ...
0
votes
2
answers
845
views
AmpScript redirect not working in if/else
Hello I'm working on a Cloud Page in Marketing Cloud. I'm trying to set a redirect based on the result of an object update in a connected CRM.
Example code below.
%%[
var @campaginMemberId, @city, ...
-1
votes
1
answer
219
views
Is there a way where I can redirect the page to a record after insert trigger without using visualforce aura or lwc?
All I want to do is merge leads after the insertion of one lead(if found duplicate).
merging is working correctly but I want it to redirect to the merged lead record after merging. Is there a way we ...
-3
votes
1
answer
916
views
Redirect() and RedirectTo() not working in cloudpages
I was using RedirectTo() to redirect from cloudpage to external URL after a data extension update (say "https://www.google.com"). It was working fine yesterday but when I try today, the code ...
2
votes
0
answers
888
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
602
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
147
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
88
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
0
votes
1
answer
418
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 ...
0
votes
1
answer
3k
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]({
...
0
votes
0
answers
4k
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
282
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
5k
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
1
answer
936
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
0
answers
356
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
397
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
316
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
527
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 ...
2
votes
1
answer
2k
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
629
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
1k
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
2k
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
3k
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
466
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
209
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
768
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
1k
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 ...
1
vote
0
answers
337
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
945
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
2k
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
638
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
642
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
835
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
2k
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
745
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
3k
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
1k
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
709
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
vote
1
answer
723
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
682
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(...
1
vote
1
answer
491
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
5k
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 ...