You need to sign in to do that
Don't have an account?
PageReference PDF Chrome Network Error
Hello guys,
I have 2 visualforce pages and 1 apex controller extension for both. On the first page I capture some information that is displayed on the second page (renderAs PDF). On the first page, one Button is using this simple methode to open the second page.
There is no problem showing a pdf preview, but the chrome download function is not working. Chrome is not able to recognize the pdf format in the save option. I have already deleted my cookies but the error still appears. Firefox works fine, but it is important for us to do it with google chrome.
If i open the pdf page directly it is not a problem for chrome to download it..So the problem should be the controller methode.
Thanks for your help guys ! i hope there is a simple solution for that.
Cheers,
Sandra W
I have 2 visualforce pages and 1 apex controller extension for both. On the first page I capture some information that is displayed on the second page (renderAs PDF). On the first page, one Button is using this simple methode to open the second page.
public PageReference quotePage(){ PageReference qPage = Page.quote2; return qPage; }
There is no problem showing a pdf preview, but the chrome download function is not working. Chrome is not able to recognize the pdf format in the save option. I have already deleted my cookies but the error still appears. Firefox works fine, but it is important for us to do it with google chrome.
If i open the pdf page directly it is not a problem for chrome to download it..So the problem should be the controller methode.
Thanks for your help guys ! i hope there is a simple solution for that.
Cheers,
Sandra W
https://support.google.com/chrome/answer/2898334?hl=en
https://productforums.google.com/forum/#!topic/chrome/7XBU6g6_Ktc
Greetings Sandra