You need to sign in to do that
Don't have an account?
![Surjendu Surjendu](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
PageReference and RequestHeader!!!! Urgent
I want to send a request to a site outside of salesforce. I can do
PageReference ref = new PageReference('http://www.abc.com');
But I also want to send some RequestHeader in the HTTP Request. Can it be possible? If yes, How?
Also I want to show the new page(google.com) in a new tab. I know I can create a web tab but the thing to notice here is the url can be dynamic and hence I cannot create a web tab, as while creating web tab it asks for a URL which might change depending upon scenarios.
Any help from gurus???
PageReference ref = new PageReference('http://www.abc.com');
But I also want to send some RequestHeader in the HTTP Request. Can it be possible? If yes, How?
Also I want to show the new page(google.com) in a new tab. I know I can create a web tab but the thing to notice here is the url can be dynamic and hence I cannot create a web tab, as while creating web tab it asks for a URL which might change depending upon scenarios.
Any help from gurus???