Book a Demo

Author Topic: Export Reference Data via script..  (Read 3668 times)

HTB

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Export Reference Data via script..
« on: May 11, 2015, 12:20:24 am »
Hi..

does anyone know how to execute an "Export Reference Data" from a script code.

i would like to automate the generation of this file..

thanks

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Export Reference Data via script..
« Reply #1 on: May 11, 2015, 03:41:08 am »
I always did that without API directly from the database (see http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1390927928/9#9). The reason was that images were not imported correctly and lost their id. No idea if that has been fixed meanwhile.

I also remember some post from one of the Sparxian that there IS something to export reference data. Unfortunately I could not find the thread/link in the help.

q.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Export Reference Data via script..
« Reply #2 on: May 12, 2015, 06:18:32 pm »
Not sure about exporting the data in EA's XML format, but you can retrieve some of the reference data using Repository.GetReferenceList().

/U
My theories are always correct, just apply them to the right reality.