Book a Demo

Author Topic: how to change from Proposed to Implemented  (Read 3938 times)

Josef Stadelmann

  • EA User
  • **
  • Posts: 59
  • Karma: +0/-0
  • as simple as possible, but not too simple
    • View Profile
how to change from Proposed to Implemented
« on: July 09, 2015, 07:03:09 pm »
Can I change a package from Proposed to Implemented and at the same time do it for all classes contained by the selected package.

Because if a package changes its state to lets say approved, guess why, but I think that all classes are at least approved too.

It would make our life much more easy !

How can I do this if ever possible.

And the same is should be possible: Select a class and change all filed types from i.e. String to Varying. How can I do that ?
« Last Edit: July 09, 2015, 07:05:20 pm by stadelma »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: how to change from Proposed to Implemented
« Reply #1 on: July 09, 2015, 07:13:23 pm »
a) Context/Package Control/Package Status

b) only via a script

q.
« Last Edit: July 09, 2015, 07:14:04 pm by qwerty »

Josef Stadelmann

  • EA User
  • **
  • Posts: 59
  • Karma: +0/-0
  • as simple as possible, but not too simple
    • View Profile
Re: how to change from Proposed to Implemented . .
« Reply #2 on: July 17, 2015, 04:18:19 pm »
for a package and all it's content

How would such a script look like.
Please take it to the wish-list for a future version of EA.
Thank you.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: how to change from Proposed to Implemented
« Reply #3 on: July 17, 2015, 07:10:41 pm »
As a sketch:
- get Repository.TreeSelectedObject
- for element.Attributes
- attribute.Type = 'NewType'
- attribute.Update()

So less than 10 lines will do.

q.

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: how to change from Proposed to Implemented . .
« Reply #4 on: July 20, 2015, 08:35:00 pm »
Quote
Please take it to the wish-list for a future version of EA.
Thank you.

If you want this enhancement, you need to raise a formal feature request with Sparx.  While a Sparxian may appear from time to time, these are user forums.