You need to sign in to do that
Don't have an account?
Dev@Force.ax647
Redirect with bookmark
I have to redirect page on a url with bookmark(#) on page. But when I redirect URL is encoded and convert # into %23 and because of that page dont scroll to the bookmark.
PageReference pr=Page.SamplePage;
pr.getParameters().put('id',obj.Id+'#'+obj.Name);
return pr;
Can any body tell me how to redirect page with a bookmark on that page?
Use setAnchor instead: