Question Bransen Smith · Oct 29, 2024

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?

Product version: IRIS 2023.3

Comments

Enrico Parisi · Oct 29, 2024

You can call:

Set status = $system.OBJ.Export(Tablename_".LUT", Filename)

0
Jani Hurskainen  Oct 30, 2024 to Enrico Parisi

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
0
Enrico Parisi  Oct 30, 2024 to Jani Hurskainen

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.

0
Bransen Smith  Oct 30, 2024 to Enrico Parisi

Exactly what I needed. Thank you.

0