Written by

Senior Startups and Community Programs Manager at InterSystems Corporation
Question Evgeny Shvarov · Jun 8, 2021

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.

Comments

Robert Cemper  Jun 8, 2021 to Robert Cemper

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>
0
Evgeny Shvarov  Jun 11, 2021 to Robert Cemper

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?

0
Robert Cemper  Jun 11, 2021 to Evgeny Shvarov

"any other web-app"   

- SMP doesn't do it

- webterminal ?? -

0
Evgeny Shvarov  Jun 11, 2021 to Robert Cemper

Webterminal cannot deal with downloading files (yet). Maybe some Management portal plugin or alternative. 

A good candidate for a dev tool.

0