Quantcast
Channel: Adobe Community : Discussion List - LiveCycle Forms
Viewing all articles
Browse latest Browse all 1160

How to remove a node from PDF

$
0
0

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!


Viewing all articles
Browse latest Browse all 1160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>