You need to sign in to do that
Don't have an account?

how to add a custom export button in Cases
can someone share with me step by step as to how i would add a custome button to be able to export a single case. my customers want copies and wanted to be able to export them to word or pdf so i can email them to them
Below are few options,
Please mark this as Best Answer if it helps you!
2. can you include a walkthrough of the stpes to do this. im not familir wiith this. a screen shot. whatever you can include would be helpful
1) Create this Visualforce page in your org
2) After above Visualforce page is created, create a Visualforce button on case object (see screenshot below)
3) Now add that button on Case page layout. Thats it. This will allow you to download case in PDF and will maintain look and feel of Salesforce. Modify the code as per your need.
Hope this helps!
-Saurabh
Please mark this as Best Answer if it helped you!
1. i renemaed cases to work orders. do i need to substtitue in "Work_Orders" for case in the script above
2. in your Screenshot under content the only thing i have in the drop down is "export button" which i named the button. i dont see the text u have above in there
1) if you have just renamed Cases to 'Work Orders' then no need to change. But if you have created a new object in Salesforce, then you may have to change it.
2) you will have to create a new button and then add it to the layout.
Go to Setup> Case > button and links and create a new button. You should see a visual force page that you have created in the drop down. Select the page that you created in step 1 and save the button. That's it.
Please mark this as Best Answer if it helps you.
so should i go through and replace everything that says case in the script to "Work_Orders" just as i wrote it. assuming i need the underscore maybe not, noticed in most code you need an underscore when their is 2 words in the heading?