Search code examples
pdforbeoninspector

Can I remove form Inspector from generated PDF in Orbeon?


is it possible to ommit Form Inspector from generated PDF in Orbeon? Thank you.


Solution

  • There currently is no configuration that you can set to have the XForms Inspector enabled only on certain pages. If you enable the XForms Inspector by setting the oxf.epilogue.xforms.inspector property to true, then it will show everywhere. So you can either:

    1. Enable it very temporary, setting the property to true just before doing a page load for which you want it, and then set it to false (or commenting out the property).
    2. Add custom CSS that hides the XForms Inspector when needed. In this case, the XForms Inspector will still be "there", but just hidden with CSS. And of course, you'll want to make sure to really disable it before going to production.