You need to sign in to do that
Don't have an account?
Bailey Rudd
Issues with Custom Javascript Quote PDF Button
Quote PDF Custom Javascript Button Issues
My custom button is being used on the quote page to render the standard Salesforce PDF Overlay and also assign a quote template ID. The 'Save to Quote' button on the bottom of the overlay isn't working. The other buttons 'Save & Email Quote' and 'Cancel' are both working correctly. Can someone help?
My custom button is being used on the quote page to render the standard Salesforce PDF Overlay and also assign a quote template ID. The 'Save to Quote' button on the bottom of the overlay isn't working. The other buttons 'Save & Email Quote' and 'Cancel' are both working correctly. Can someone help?
{!REQUIRESCRIPT("/soap/ajax/20.0/connection.js")} var pdfOverlay = QuotePDFPreview.quotePDFObjs['quotePDFOverlay']; pdfOverlay.dialog.buttonContents='<input value="Save to Quote"class="btn"name="save"onclick="QuotePDFPreview.getQuotePDFObject(\'quotePDFOverlay\').SavePDF(\'0,\'0\');"title="Save to Quote" type="button"/><input value="Save and Email Quote" class="btn" name="saveAndEmail" onclick="QuotePDFPreview.getQuotePDFObject(\'quotePDFOverlay\').savePDF(\'1\');"title="Save and Email Quote" type="button"/><input value="Cancel"class="btn"name="cancel"onclick="QuotePDFPreview.getQuotePDFObject(\'quotePDFOverlay\').close();"title="Cancel"type="button"/>';pdfOverlay.summlid="0EHo0000001E982";pdfOverlay.setSavable(true);pdfOverlay.setContents('/quote/quoteTemplateDataViewer.apexp?id={!(Quote.Id)}','/quote/quoteTemplateHeaderData.apexp?id={!(Quote.Id)}');pdfOverlay.display();
VineetKumar
is any error getting reported?
Bailey Rudd
None, I set up some debug logs and even with the filters set to finest it doesn't even see it. No logs on the action at all.