IBM Support

How to get the recursion enabled for a container to get the nested packages from Rational Rhapsody model using the script in Rational Publishing Engine

Question & Answer


Question

How do you get the recursion enabled for a container to get the nested packages from IBM Rational Rhapsody model using the script in IBM Rational Publishing Engine?

Cause

You would like to use the Rational Publishing Engine script to generate a document from the model in Rational Rhapsody.

Answer

For generating a report containing nested packages from the Rational Rhapsody model, you can use the below mentioned script in Rational Publishing Engine.

Note: This script has two properties to enable recursion for a container. The first is Recursion Level with value as 2, that helps in extracting the first two levels of packages. The second is Recursive Segments, which is 2 in most cases. Since, in Rhapsody the packaging of all the elements are in the elements/element form.

Script

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

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21612584