Is there a way to export globals in XML via Management Portal?
Hi colleagues!
Is there a way to export globals in XML if I have the access to Management Portal or any other web app?
Currently, it gives the option to export into gof format only.
Discussion (5)0
Comments
I think $system.OBJ.Export() with type .GBL .
I don't have qspec at hands
no qspec required.
USER>set file="box.xml"
USER>set sc=$system.OBJ.Export("box.GBL",.file)
Exportieren in XML gestartet am 06/08/2021 11:46:58
Exportiere Global: ^box
Export erfolgreich abgeschlossen.
USER>$type box.XML
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="25" zv="IRIS for Windows (x86-64) 2021.1 (Build 209U)" ts="2021-06-08 11:46:58">
<Global>
<Node><Sub>^box</Sub>
<Node><Sub>1</Sub>
<Node><Sub>1</Sub>
<Data> </Data>
<Node><Sub>0</Sub>
<DataBase64>G1syOzRI
</DataBase64>
</Node>
<Node><Sub>1</Sub>
<Data>1</Data>
</Node>
<Node><Sub>2</Sub>
<Data>...456..9</Data>
</Node>
</Node>
<Node><Sub>2</Sub>
<Data> </Data>
<Node><Sub>0</Sub>
<DataBase64>G1syOzEwSA==
</DataBase64>
- - - - removed -------
</Node>
</Node>
<Data> </Data>
USER>Hi Robert!
Thanks! With terminal Yes it works like a charm.
But if you have access to Management portal only or to any other web-app?
"any other web-app"
- SMP doesn't do it
- webterminal ?? -
Webterminal cannot deal with downloading files (yet). Maybe some Management portal plugin or alternative.
A good candidate for a dev tool.