After developing a page to override the default View
button of the standard Quote
object, I noticed this is one of the only object that do not allow this possibility (or the only one?). I'm not quite sure why, but I'm not the only one who faced that reality:
https://success.salesforce.com/ideaView?id=08730000000IhSL
Is there a tweak / workaround that could allow me to add this behaviour or emulate it? I thought of an included Visualforce with a redirect, but this is definitely a too dirty alternative to be even considered.
Thanks
Attribution to: jpmonette
Possible Suggestion/Solution #1
I would strongly advise against trying to override the Quote View.
I found a way to hack my way into making it happen, but it broke the built-in Quote functionality due to cross-site scripting errors.
The Quote page has a button to generate PDF attachments from the Quote... this executes some JavaScript served from the main Salesforce servers. If that code is executed from a Visualforce server, it will fall foul of XSS restrictions.
So my solution (still dirty) was to use a Home Page Component with JavaScript in it to customise the Quote View in the way that I needed. Like this:
Attribution to: Aidan
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/34018