Is it possible to exclude a visualforce page that will be used for rendering a PDF from a managed package?
The reason is, we have a standard PDF layout, but we want to give our clients the possibility in changing the layout of the pdf, in order to create their own branded version of the pdf.
But then comes the problems i'm thinking about.
- In the apex webservice method, I reference the page via Page.PDFPageName, but since the page isn't included in the package, i'm not sure if the deployment would fail.
- Some use cases require the pdf to be generated from code (in some cases, when the sobject gets made, the pdf gets autogenerated)
How would one start of implementing this, (if its possible at all)