Author Topic: EA API returns null for Package.Element despite valid database entries  (Read 2111 times)

ea0921

  • EA User
  • **
  • Posts: 102
  • Karma: +0/-1
    • View Profile
We have a package named "cappm".

In the t_package table, there is a valid entry for this package.

For the same GUID, there is also an entry in the t_object table.

However, when accessing this package through the EA API, Package.Element returns null.

Jan van Duuren

  • EA Novice
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
field PDATA1 in table t_object of the corresponding package should contain the package_id from the record in t_package.

You may need to run Project Integrity to find any inconsitencies in your repo.

Settings -> Model -> Integrity -> Project Integrity
EA scripting since 2013 (JScript, Javascript and Node.js)