Author Topic: Setting Relationship Matrix Profiles  (Read 3275 times)

Hoefler1

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Setting Relationship Matrix Profiles
« on: June 07, 2016, 11:56:51 pm »
How can I set up profiles for the Relationship Matrix using a script?

I want to automate the creation process for several profiles which must be added to all of my projects.
So running the script should then do the creation.

Where are these profiles even stored?

There is only a Getter for this: Repository.GetRelationshipMatrix() returns something like:
Code: [Select]
...<Profile linktype="Refine" source="Requirement" target="UseCase" direction="0" targetpackage="{...guid...}"
sourcepackage="{...guid...}" showsourcechildren="1" showtargetchildren="1"/>...

qwerty

  • EA Guru
  • *****
  • Posts: 13570
  • Karma: +395/-301
  • I'm no guru at all
    • View Profile
Re: Setting Relationship Matrix Profiles
« Reply #1 on: June 08, 2016, 01:55:30 am »
It goes under t_trxtypes. See section 6.14 of my Inside book.

Description: MXProfile
NumericWeight: 1
Notes: The settings applied to the profile. A semi-colon separated list list of options as NAME=VAL entries
TRX: The name of the profile
TRX_ID: The primary key
Style: Always NULL

q.