Hi,
does somebody have an example or approach to delete internal variables via the XML Importer?
Thanks.
BR,
Daniel
Hi Daniel,
Do those internal variables been created from XML Import?
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.
Hello,
I think you can only delete variables (internal or not) which have been imported previously.
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
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?
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
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


