Book a Demo

Author Topic: Predefined Tagged Values for Profile  (Read 3156 times)

olafk

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Predefined Tagged Values for Profile
« on: February 13, 2006, 10:15:10 pm »
Hi all.

I am trying to define tagged values - but make them specific to a profile. That is, the (pre-)defined tagged values will be available (only) when importing the profile.

First, during the definition of a tagged value, how do I designate it to belong to a profile?
Second, the profile package export, and the subsequent import as a profile, must import that correctly...

Or, alternatively, I could try adding Tag Definitions in (Settings -> UML) but how can I export / re-import those? Is this possible?

Any help mucho appreciated...

cheers,
-olaf

thomaskilian

  • Guest
Re: Predefined Tagged Values for Profile
« Reply #1 on: February 13, 2006, 11:23:11 pm »
Hi Olaf,
I once published a tiny profile on the EA Usergroup. You may download and try it. Creating a profile is rather easy (a technology is a bit more complex). You create a package with everything aboard and export it as profile. This file can be imported into other repositories.

Exporting tags (still?) work through raw database access (not sure about that), but this link should work.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Predefined Tagged Values for Profile
« Reply #2 on: February 14, 2006, 02:26:16 pm »
Olaf,

To bundle tag definitions with profiles, create a technology file. The Technology Creation Wizard should be fairly self-explanatory - the main point is that where it asks you "Select Items to be included in this Technology" make sure "Profiles" and "Tagged Value Types" are checked. The wizard will show you all the tag definitions in the current model and allow you to select any or all of them to embed in the technology. Of course, you have to define your tagged value types and save your profile separately first.

More info if you need it here.

Neil
« Last Edit: February 14, 2006, 02:27:31 pm by KP »
The Sparx Team
[email protected]

olafk

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Predefined Tagged Values for Profile
« Reply #3 on: February 14, 2006, 07:28:04 pm »
Neil,

excellent suggestion... In addition to the actual profile, I also have model transformations and code generation templates that should all go into one such technology "bundle". So, now I have a AndroMDA Technology packaging everything rather nicely.

Thanks again.
Cheers.