Questions tagged [redirect]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
89 views

How to direct user to New Contact Page when New Account Created

I am trying to find a way to direct a user to the New Contact page automatically when a new account is created. I was thinking of using a VF page which overrided the edit on an account. The page would ...
1
vote
2answers
1k views

Redirecting to Custom Customer Portal Login Upon Failed Login

My company Is still using a portal for their customer login, and I was recently tasked with creating a VF page to replace the bland default login page. I have most of the page set-up, but I cannot get ...
1
vote
2answers
693 views

URL redirect after attachement upload

I want to make a program where a user uploads any document. On uploading I want the user to be redirected to a folder. So here's what I have tried so far from salesforce documentations... public ...
1
vote
2answers
635 views

Page Redirect to selected contact

I have a VF Page where Im displaying a lost of contacts as a link. I need to redirect the command link (Name of contact) to that particular contact's standard detail page. Please help me with a sample ...
3
votes
1answer
931 views

Displaying messages on redirected VF page

This is roughly the same question as in here, I can't comment so I'm re-asking. My problem is that if the redirect is created in the method assigned to apex:page action attribute, the messages are ...
2
votes
2answers
2k views

Passthrough Page Fails to Redirect in Service Console

I am currently having an issue with my custom passthrough page where it operates correctly but, only when it is outside the service console. So when I am in the service console, any redirect ...
4
votes
1answer
3k views

Prevention for Open Redirect Problem in Salesforce

I am facing some issue of "Open Redirect", is there any direct solution or document which may help me. pagereference p = new pagereference(returnUrl); return p; here Security issue is Open ...
7
votes
1answer
729 views

Can Force.com Sites 301 Redirects handle open ended parameters?

I am looking to map some of the Salesforce Chatter pages that automatically get surfaced in the Community and redirect them back to a Home page to prevent some of the standard pages from being ...
3
votes
1answer
1k views

URL redirect with SAML enabled

We are planning to use SSO with SAML. This means, as far am I am aware, that the URL being displayed in the browser will not have the format na1.salesforce.com, but the format of the sub domain being ...
2
votes
2answers
450 views

Redirecting is partially deleting prefix from URL

Just like the title says, whenever I click my 'Del' link, the delete works fine but the redirect is cutting off part of the package prefix. Example: Working: https://myprefix.na15.visual.force.com/...
2
votes
1answer
5k views

Using JS inside VF page to redirect to another VF Page

I have 3 pages, a homepage and then two other pages. Depending on what the user clicks on in the homepage I want to redirect them to one of the two other VF pages. How would I do this using JS or ...
3
votes
1answer
862 views

Saveurl with a parameter

I have a visualforce page that has a list of opportunity products and in this there is a column where you can either create a new related item or lookup an existing item (of a custom object). Looking ...
3
votes
2answers
3k views

How to make the page's params redirect to another page still work

i have two params in apex, ex: errorNum = 1; errorMessage = System.Label.UPL_OFFMSG_OfferExist; now,i want to redirect from the current page to another,but the param will lost in the next page. ...
3
votes
1answer
736 views

Unauthorized Page Redirect in Controller

I am trying to create a small authentication on my force.com site so that I don't have any random person accessing the site/visualforce page unless they are currently logged into Salesforce. Also if ...
6
votes
1answer
2k views

How to control redirect on approval submit?

Question Is there a URL parameter I can use to control the page a user lands on after submitting a record for approval? Background I'm building out an approval process that is built on an object (...
2
votes
1answer
10k views

Commandbutton Link to Visualforce Page Giving “SObject row was retrieved via SOQL without querying the requested field”

I have a strange Visualforce problem: a commandbutton throws a "SObject row was retrieved via SOQL without querying the requested field", but the same URL works as a straight-up link. Markup is <...
5
votes
1answer
760 views

Sending a redirect

I have a hyperlink in an email which will open an opportunity using the standard opportunity page. Before the opportunity page is open I want to carry out some business logic. I only want this ...

1 2 3 4
5