Question & Answer
Question
How do you add user profiles to Actively Managed models using version 8.0.2 or later of the IBM Rational Rhapsody rich client?
Cause
When you use menu File >Add Profile to Model... to add profile into Actively Managed model from Rhapsody rich client, the new user interface after Rhapsody version 8.0.2 doesn't allow you to direct to local directory to choose your profile.
Answer
For Actively Managed model, all the resources are supposed to be managed in Rational Rhapsody Design Manager server side. Same rule has also be applied to profile.
In terms to the tool implementation, the Add Profile to Model... interface for actively managed model has been changed and different from the traditional UI which is applied to external managed model.
Add user profile to Actively Managed model
- Create a profile in the actively managed model from Rhapsody rich client.
- Set following properties for the created profile:
Model::Profile::DomainDefinition - Defines the URI of the Domain Definition
Model::Profile::RDFNamespace - Defines the URI of the Domain Definition
Example:
DomainDefinition = http://jazz.net/ns/dm/domain/definition/fruitsDomain# RDFNamespace = http://jazz.net/ns/dm/rhapsody/fruits#
Note: See the SysML profile for an example.
- Ensure you have sufficient permission to update Domains project area.
- Create user domain from the profile using profile context menu Design Manager > Create Domain from Profile
- Navigate Domains project area and make sure the domain for your profile is created.
- Add the created user domain into your project area.
Now you may choose to add your profile to other actively managed model using the Add Profile to Model... dialogue from Rhapsody rich client.
- The only exception is you can still add Rhapsody System Profiles to the model directly from $OMROOT\Profiles\
WORKAROUND:
When Rhapsody configures the list contents of Add Profile to Model... dialogue for Actively Managed model, Rhapsody also includes all the System Profiles located in $OMROOT\Profiles\.
While these steps are not recommended, you can add local profiles into the list as follows:
- Create a new folder (ex. MyProfile) under $OMROOT\Profiles\ to store your profile.
- Move your profile (ex. MyProfile.sbs) and description file which has the same name(ex. MyProfile.txt) into OMROOT\Profiles\MyProfile folder.
- Copy above client side MyProfile folder to server side right under the <ServerInstallation>\RhapsodyModelServer\Share\Profiles\ directory.
- Open a model directly from Design Manager.
Click File > Add Profile to Model... and you will see MyProfile is accessible from the pop-up dialogue.
Related Information
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21645550