Deletion of variables via XML Importer

8 Posts
3 Users
0 Likes
27 Views
(@d.schmidt@pcvue.de)
Posts: 0
New Member Guest
 

Hi,

does somebody have an example or approach to delete internal variables via the XML Importer?

Thanks.

BR,
Daniel

 
Posted : 21/01/2014 6:43 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

Hi Daniel,

Do those internal variables been created from XML Import?

 
Posted : 22/01/2014 11:15 am
(@d.schmidt@pcvue.de)
Posts: 0
New Member Guest
 

Hi Nico,

No, my customer didn't create them with the XML Importer. Is it possible then at all?
My customer would like to use to command line tool for that.

Thanks.

 
Posted : 22/01/2014 1:57 pm
BO
 BO
(@b-olombelarcinfo-com)
Posts: 196
Reputable Member
 

Hello,

I think you can only delete variables (internal or not) which have been imported previously.

 
Posted : 22/01/2014 10:06 pm
(@j.becker@pcvue.de)
Posts: 0
New Member Guest
 

Hello,

the goal of the customer is to modify the variable database at run-time without stopping pcvue (like Application Architect, who uses the same interface). So at this point it would be interesting to know how the synchronization (and in fact the deletion) is proceeded or even better how the interface works in fact. Maybe we could use then a fake-xml-file, which I understood is for synchronization?

BR

Johannes

 
Posted : 22/01/2014 10:11 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

Yes, actually if the variable is created using xml importer it can be deleted by a synchro.

But, look, your customer's request is quite strange. If he has some internal variables that are not used, he doesn't need deleting them. Just keep like that, it cost nothing...

Otherwise, yes, you can create a fake xml file simulating a fake XML import. Then you can run a synchro using a real xml file.
But how do you want to trigger the synchro?

 
Posted : 23/01/2014 12:52 pm
(@j.becker@pcvue.de)
Posts: 0
New Member Guest
 

Hello,

we thought we could do this with the command line tool.

In fact, the goal is not only to delete variables. It is more to modify them or to delete and not only internal.

BR

 
Posted : 23/01/2014 2:36 pm
(@j.becker@pcvue.de)
Posts: 0
New Member Guest
 

Hello again,

one tested solution is following:
1. Create a XML-File containing the variables to delete or to modify
2. Import via command-line-tool --> a XML-file for synchronization is created in the C-folder
3. Delete or modify entries from XML-source-file
4. Run command-line-tool again
5. We have the wished behavior

With self made fake-XML-files it didn´t work because on running the command-line-tool, another is created.
BR

 
Posted : 23/01/2014 3:19 pm