• KPK
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies
Hi,
Need salesforce project support in california timings. Intrested please respond.

Thanks,
 

Hi all,

 

I have written a Visualforce PDF with extension class to call the list of contacts and a button on Button on Opportunity pagelayout .

The buttons works as if stagename == site visit it should give an error else open the PDF.

But here the problem is onclick javascript is working properly but im not getting the CONTACT values in visualforce page.

Visualforce page and Button is on Opportunity 

 

 

Javascript:

var a = '{!Opportunity.StageName}'; 
if(a == 'Site Visit') 
alert('Please fill the Application Details');  
else 
window.open('/apex/Application_PDF?scontrolCaching=1&id={!Opportunity.Id}');

 Thanks in Advance...

  • September 08, 2012
  • Like
  • 0

Question : How to append any word or pdf documents uploaded in salesforce to an existing rendered pdf in Salesforce and get the output as merged Pdf