+ Start a Discussion
DahveedDahveed 

Using default Quote templates with a custom controller extension

I am following Shamil's advice combined with Ankit Arora's advice on being able to create a custom VF page and display the quote through an iFrame. 
https://developer.salesforce.com/forums/ForumsMain?id=906F000000090bMIAQ
https://developer.salesforce.com/forums/#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=906F00000008mUaIAI

My problem is even without the iFrame if I use this link, the page isn't seeing my Headers and Footers properly. 
https://cs14.salesforce.com/quote/quoteTemplateDataViewer.apexp?id=0Q0c00000007Czx&headerHeight=20&footerHeight=10&summlid=0EHc0000000Cxvl#toolbar=1&navpanes=0&zoom=90

They look like this ....
User-added image
Are there more parameters I need to add because when I do a getcontentaspdf() it also looks like this so it's unusable.

Thanks for any advice!

Dahveed
DahveedDahveed
I have a ticket in with support.  Anyone have any suggestions or direction? I am ultimately try to have my own custom save button while being able to use salesforce's default quote templates.