Home Forums Business Model Classes Exporting data dictionary from class

Viewing 0 reply threads
  • Author
    Posts
    • #16749
      Daniel DonciuDaniel Donciu
      Participant

      I am in the process of exporting the full list of attributes and certain of their characteristics (required, collection,…) from a list of classes to a CSV file. Here is a sample of the code used:

      (define lstClass (list “Person”))

      (for-each
      (lambda (cls)
      (let ((clz (((invocation-context)’metadata)’findMetaclass cls)))
      (for-each
      (lambda (attr) (logger’info (attr’name) (attr’description)))
      (clz’attributeIterator)
      )
      )
      )
      lstClass
      )

      Unfortunately ‘description, while not throwing an error, always returns null.

      What is the best way to export a list of class attributes for a given class, including the description of the attributes (as entered in the .class meta file)?

      0
Viewing 0 reply threads
  • You must be logged in to reply to this topic.