Book a Demo

Author Topic: Access to Reference Data  (Read 4770 times)

Roman Sankin

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Access to Reference Data
« on: November 14, 2013, 02:35:27 am »
Hello,

how can I access to the reference data collections such as Tagged Value Types or Requirement Types using automation interface? Is such data stored in the repository object or elsewhere?

best regards
Roman

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Access to Reference Data
« Reply #1 on: November 14, 2013, 03:54:25 am »
You can read the according tables t_objectproperties for tagged values or t_requiretypes for the requirement types. See my Inside book for details.

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Access to Reference Data
« Reply #2 on: November 14, 2013, 08:11:59 am »
Requirement Types are available from Repository.GetReferenceList ("Requirement") or t_requiretypes if you wanted to go through sql.

Tagged Value Types are available from Repository.PropertyTypes or t_propertytypes if you wanted to go through sql. They are not available through t_objectproperties. That table is for the tagged values that have been created on objects.


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Access to Reference Data
« Reply #3 on: November 14, 2013, 10:39:40 am »
Quote
Tagged Value Types are available from Repository.PropertyTypes or t_propertytypes if you wanted to go through sql. They are not available through t_objectproperties. That table is for the tagged values that have been created on objects.

:-[ of course

q.