Expand my Community achievements bar.

xfa.datasets.connectionData.WSDLConnectionName.remove() doesn't work

Avatar

Level 2

The script given below doesn't work.

xfa.datasets.connectionData.WSDLConnectionName.remove() ;

3 Replies

Avatar

Level 2

The script is working by inserting the, script given below in XML source :-

     <event activity="postExecute" ref="$connectionSet.DataConnection3">
         <script contentType="application/x-javascript">
                  console.println("postexec");
               app.alert('hi');
          xfa.datasets.connectionData.DataConnection3.remove(); 
      </script>
      </event>

Avatar

Former Community Member

i have added xfa.datasets.connectionData.WSDLConnectionName.remove under preSave event,

but the connectionData.WSDLConnectionName still exists after execute remove.

Any idea?

Avatar

Level 2

it only removes the instance of soap request sent to webservice not WSDLDataConnection. It's working fine.