IBM Support

If you define any user defined types in a Profile - Rhapsody generates code for them and your model won't compile.

Question & Answer


Question

If you define any user defined types in a Profile - Rhapsody generates code for them and your model won't compile.

Answer

You may have noticed that if you define any user defined types in a Profile, Rhapsody generates code for them and your model
won't compile.
 
You may have also noticed that if you set the UseAsExternal property on your profile, it also gets applied to every other element in your model, so no code is generated at all!
 
Here's the workaround:
Set the UseAsExternal property to true in your profile.
In your site.prp file, ADD the property/
 
This will prevent the property being applied everywhere else.
440AnswerProduct versionPartner ContentInternal ContentCategoryReference ID

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

10325

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21323637