1 Reply Latest reply on Jul 6, 2015 10:49 AM by Magus069

    How to remove a node from PDF

    Magus069 Level 4

      Hi there,

       

      I'm trying to remove a node from a PDF, initially the node is a DataConnection under "xfa.sourceSet"...

      When I'm trying to remove a DataConnection I get this message :

       

      "Method: 'remove' cannot be called because doing so would violate this document's permissions settings."

      xfa.sourceSet.nodes.remove(xfa.resolveNode("xfa.sourceSet.Categories"));

       

      I don't know if there's an option which I can uncheck to be able to remove a DataConnection anyhow..

      I've also tried to remove a node like a check box or something like that... it doesn't seem to remove it as there is no error and the check box stays in the form...

      My main goal for this is to be able to remove a DataConnection to remove any connection to the DataBase since I keep the data inside the PDF... Afterwards there is no connection to the database, so it is useless to keep the DataConnection string inside the PDF..

       

      Can anyone help me with this?

      Thanks!

        • 1. Re: How to remove a node from PDF
          Magus069 Level 4

          Hi there, again...

          Seems like there is no chance in deleting a data connection node, or anything like that...

          I'd like to know tho.. is it possible to remove a Data Connection from a PDF once the PDF is Reader Extended...

          There is no use to keep a data connection once the PDF has connected to the database once...

           

          Anyone have an idea on how I can possibly do this?