VScode load xml and convert to udl
Is there a helper class available that will import an XML class and convert the class to UDL?
David
Comments
Hi David,
I see you used the "VSCode" tag. The couple of times I have done this in VSCode, I typically just import the XML classes into my system and then once they are loaded, I use the VSCode ObjectScript Explorer and export my classes from there into my project. I've only done it once or twice, so I don't know if there is a better way of doing it.
If you are interested, these are some methods for doing it manually as well that could be scripted to do all your files:
USER>do $system.OBJ.Load("C:\Users\psteiwer\Desktop\Class.xml")
Load started on 03/10/2020 17:40:03
Loading file C:\Users\psteiwer\Desktop\Class.xml as xml
Imported class: PivotSubscriptions.Utils
Load finished successfully.
USER>do $system.OBJ.ExportUDL("PivotSubscriptions.Utils.CLS","C:\Users\psteiwer\Desktop\Class.cls")