How to programmatically export individual Data Lookup Tables?
As the title suggests, I would like to programmatically export each individual data lookup table as XML, either as a stream object or to a file. How would I go about doing this?
Comments
You can call:
Set status = $system.OBJ.Export(Tablename_".LUT", Filename)
The $system.OBJ.Export documentation doesn't mention LUT. However there is a vague statement:
Each of the items must have a type determined by an extension selected from the following list of basic types, additional types are supported under the abstract routine interface, so this list is not exhaustive.
Is LUT one of those additional types? What is that abstract routine interface? Why it is not possible to list those additional types here too?
Just for the record the types mentioned in the documentation at the moment of writing:
- CLS - Classes
- CSP - Server Pages
- CSR - Rule files
- MAC - Macro routines
- INT - Non-macro routines
- BAS - Basic routines
- INC - Include files
- GBL - Globals
- PRJ - Projects
- OBJ - Compiled object code
- PKG - Package definitions
In the documentation page there is a "Feedback" button/link on the right, I encourage you to provide your comments as Feedback, possibly linking this post in the Community.
Exactly what I needed. Thank you.