Questions tagged [redirect]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
20 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
67 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
14 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
29 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
26 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
16 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
27 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
38 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
41 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
32 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
16 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
46 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
52 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
92 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
78 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
59 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
87 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
43 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://...
0
votes
0answers
20 views

I am unable to redirect my communities page

I am trying to redirect a URL due to capital letters in the URL, but it is not working. Below is a screenshot of what I have currently.
2
votes
1answer
102 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
121 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
23 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
21 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
145 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
226 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
357 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 ...
0
votes
0answers
35 views

Aloha Redirect Unauthorized Error - How do I control it? Can I turn it off?

Inherited a project that is using Javascript embedded into a Visualforce page that is basically creating the entire layout of the page. Within the Javascript (which creates most of the HTML ...
3
votes
1answer
92 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
38 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
672 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
0answers
27 views

Form Redirect with params to controller

I have a 3rd side that makes a redirect to my VF page (A Force.com Site) with params. <form id="AFormId" action="A Force.com Site" method="post" target="_parent" enctype="application/x-...
0
votes
2answers
187 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
0answers
128 views

Cannot get session id in lightning component

I am trying to call a REST api from lightning, however i am getting 401, Unauthorized error. I know this question has been asked previously, but the solution they offered was to use a visualforce ...
0
votes
0answers
50 views

URL Redirects that contain query params

Here's an example and real case scenario: www.example.com/s/somepage?query=12345 (The page I want people to land on) The front-end setup is using community pages Scenario: www.example.com/somepage ...
0
votes
1answer
412 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
137 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
50 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
404 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
59 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
83 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
793 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 ...
0
votes
1answer
391 views

Redirecting from javascript to custom url in callback function with Visualforce.remoting.Manager.invokeAction

I have a custom visual force page. I use Visualforce.remoting.Manager.invokeAction to post data and create a custom object on a custom Apex Controller extension. This action creates my custom ...
0
votes
1answer
395 views

How to close window automatically once the excel file got downloaded?

I have command button while clicking the button it will redirect to VF page where it will renderas data as excel also it will open a site.Once the excel download is completed,the window needs to be ...
1
vote
2answers
646 views

Redirect back to the VF page

In Classic: There is a New button on the VF page. On click of this button default new record create a page of the custom object gets open. On saving of the record, the page gets redirected to the VF ...
1
vote
1answer
336 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 ...
0
votes
2answers
72 views

Visualforce page is not redirecting to specific VF pages with associated record types

For Account, we have few record types. we want to have the related vf page displayed when a specific record type is selected. However, upon selecting a record type, the below vf page is not directing ...
1
vote
0answers
272 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
2answers
1k views

URL link to SF record from external system - LIGHTNING

I have a requirement to provide a link to an external system, which will link to an Account in Salesforce. The external system doesn't store the AccountId, but uses an externalId (UUID). The UUID__c ...
1
vote
0answers
245 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
2 3 4 5