Author Topic: Importar datos de referencia  (Read 3682 times)

dcaruso

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Importar datos de referencia
« on: January 18, 2017, 04:29:41 am »

I am doing a methodological guide, and my add-in would provide different templates packages with diagrams according to the type of requirement added to a kanban, to administer a project using scrum, with burndown chart and etc. etc. I do not find in the repository class or project class a method for importing data from references. Is it possible to do this?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Importar datos de referencia
« Reply #1 on: January 18, 2017, 04:38:07 am »
xmlres = Respository.CustomCommand("Repository", "ImportRefData", sXML);

The parameter sXML is a string value containing the reference data from a former export.

(from my Scripting book)

q.

dcaruso

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Importar datos de referencia
« Reply #2 on: January 18, 2017, 06:15:34 am »
Genius!  Thank you. Where can I get your Scripting book? I need import profiles and images
« Last Edit: January 18, 2017, 06:23:48 am by dcaruso »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Importar datos de referencia
« Reply #3 on: January 18, 2017, 07:06:22 am »
Just click on the icon below my post :-)

There's (or at least had been) a quirk with importing images. I can't remember the details, but it had to do with identifiers being mixed up, which was the reason for me to write my own image import (you'd find more details in my Inside book).

q.