Book a Demo

Author Topic: Element update of tagged-value depending on project browser hirarki  (Read 3701 times)

steen.jensen

  • EA User
  • **
  • Posts: 181
  • Karma: +8/-1
    • View Profile
We are using a maybe to complex Project browser hirarki for ouer project requirements.
Is it possible to have a script that uppdates a Tagged-Value with Elements location in Project-browser??
As we are multiple requirement analyst, so some human errors will certinly occur with placement in right package.

In that way I could be sure that every requirement have all relevant data for analys & reports

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
If the requirement is linked in some way to the element then yes. You can add the fully qualified name (which you can create by going up the element's parent path).

q.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Hello Steen,


It's certainly possible to write a script that updates a set of elements with their position in the tree (you don't specify if you're just after the depth or the within-package order as well, but one isn't any harder than the other), but the problem with scripts is always that you have to remember to run them.

If you write an Add-In instead, you can update the elements automatically when they're created or updated, or even move them if they're placed in the wrong location -- and of course inform the modeller that you've done so, otherwise they'll think it's spöking. :)


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