Can I use Model Based Document Generation profile in a Design Manager model.
When I have a model outside of Rational Design Manager I can add the MDBG profile and create diagrams in that profile. When I have a model that is being actively managed in RDM the MDBG profile (and others) is not available when I use Add Profile to Model. Is there a way to make MBDG profile available in this situation.
Accepted answer
The right way to go is to create a Domain of the profile.
While creating a domain, Rhapsody adds some properties to the profile, therefore it needs to be Read writable.
You can do that by creating a new local model (MDBGProfileModel.rpy). Add the MDBG profile (MDBG.sbs) as Unit to the model.
Now you can create a Domain from this profile.
Important: after the MDBG.sbs profile is updated with the properties (RDFNamespace for ex.), you need to replace your original profile with the updated one in $OMROOT/Share/profiles folder.
Please update also the profile in case it's located on the server: JazzTeamServer/RhapsodyModelServer/Share/Profiles.
While creating a domain, Rhapsody adds some properties to the profile, therefore it needs to be Read writable.
You can do that by creating a new local model (MDBGProfileModel.rpy). Add the MDBG profile (MDBG.sbs) as Unit to the model.
Now you can create a Domain from this profile.
Important: after the MDBG.sbs profile is updated with the properties (RDFNamespace for ex.), you need to replace your original profile with the updated one in $OMROOT/Share/profiles folder.
Please update also the profile in case it's located on the server: JazzTeamServer/RhapsodyModelServer/Share/Profiles.
One other answer
Based on the version you are using, you can try following:
1. Use File -> Add to Model as reference (profile should be located under your Share/profiles folder).
2. Add a MDBG.txt file (file should have same name as the profile, with a .txt extension) next to the DMBG.sbs profile. This will cause the profile to show up in the Add Profile dialog.
1. Use File -> Add to Model as reference (profile should be located under your Share/profiles folder).
2. Add a MDBG.txt file (file should have same name as the profile, with a .txt extension) next to the DMBG.sbs profile. This will cause the profile to show up in the Add Profile dialog.
Comments
This worked to have the profile show up in Rhapsody. I still can't get the profile to Design Manager so that the elements show up with the correct stereotypes, etc. Everything remains a Rhapsody UML - Class. I tired the Create/Update Domain operation but is indicates the profile is read only and can't be updated. I am using DM 5.0.2 and Rhapsody 8.1.2.