Tuesday 30 April 2019

IBM Rational Rhapsody 8.4 was released April 23, 2019

If you didn't know already Rational Rhapsody v8.4 was made Generally Available (GA) last week on April 23, 2019. This corresponds with the release of Rhapsody Model Manager (RMM) v6.0.6.1, Rhapsody's Jazz-based server for model management, web browsing, and OSLC linking with DOORS NG, Work Items in RTC, and test data in Rational Quality Manager.

Sunday 21 April 2019

Rational Rhapsody Tip #55 - Getting to grips with the CSVImporter

The CSVImporter has been a feature in Rhapsody for a while. I was using it with a client just last month to import some data exported as a spreadsheet from DOORS as stereotyped objects in the model. It was proving so useful that I thought it would make a good tips and tricks video. It's worth noting that you can capture column values as either tags or built in fields such as the Description field. There are some important tips to remember shown in the video. For example, don't forget that Rhapsody normally has restrictions to prevents elements that are Objects or Classes (or parts/Blocks) having spaces in their name. I hope it proves useful.

















1. First off, if we have an Excel file then we need to save it as a Comma Separated Value (.csv) format file.


2. The CSVImporter is a special type of table layout in Rhapsody.



3. The Criteria tab of the Features dialog is used to select which type of element to import the CSV contents into.

4. Stereotypes with tags are a common way to capture new types and the meta-data associated with them.



5. Do forget that if your element has spaces in it, and the meta-class you've chosen to import into does not allow them, then you need to first set-up Rhapsody to allow spaces.


6. You can relax this rule by setting a more relaxed regular expression in the General::Model::NamesRegEx property.


7. In the CSV Import Settings (launched from the right-click menu) we can specify which file to import and where to import into. We can also tick a box to ignore the heading row, if there is one.














8. The Features > Columns tab is used to specify where to import the Columns in the CSV into, e.g., you can specify to put the cell value in a tag owned by a stereotype.














9. You can perform the import by right-clicking the CSVImporter table layout.














10. Each CSV row has been imported as an element in the model, together with the tag values and the Description field.









11. We can change the display options on the diagram to see the imported values.













12. A property called General::Model::CSVImportPolicy controls whether the file or the model is favored if the import is carried out again.













13. That's not all. There are another couple of cool features. Right-click the CSVImporter and you can easily create a table view of the data that was imported.















14. There's also the ability to export a table view as a CSV file.













Rhapsody public training feedback from Apr 2-4, 2019

It's been a busy year for me. Three longer-term consulting jobs and then a spate of training in April. This was the feedback from my public training Apr 2-4 2019 at the new MIRA Technology Institute building near Nuneaton, UK in conjunction with HORIBA MIRA.

It was a three day compressed course on Mastering MBSE with OMG SysML and IBM Rational Rhapsody course using the latest IBM Rational Rhapsody 8.3.1 release. Again, lots of functional safety engineers present.