Cameo DataHub UserGuide
Cameo DataHub UserGuide
User Guide
User Guide 55
Glossary 285
Alias 286
Artifact 286
Bidirectional 286
Data 286
DataHub operations 286
DataHub tree 287
Data Source 287
DHTrace 287
Driver 288
Excluded 288
Global ID 288
HP Application Lifecycle Management (HP ALM) 288
Item 288
Item type 288
Link 289
Mapping mode 289
Module 289
Node 289
Orphan 289
OSLC 289
OSLC link 290
OSLC query 290
PendingDelete 290
PendingUpdate 290
Recursively 290
Relationship 290
Cameo DataHub is an important part of your development process that enhances traceability between
your requirements gathering/analysis to your design/development. Cameo DataHub enables both
stakeholders and developers to communicate effectively via their own preferred tools. For example, a
business user may use Enovia TRM or Rational® DOORS® to create requirements that may be linked
and continually synchronized to models in MagicDraw®. Conversely, developers may link designs back
to specific requirements, preventing ambiguity and identifying implementation oversights.
1 https://docs.nomagic.com/display/CDH2021xR2/Cameo+DataHub+Documentation
2 https://docs.nomagic.com/display/CDH2021xR1/Cameo+DataHub+Documentation
3 https://docs.nomagic.com/display/CDH2021x/Cameo+DataHub+Documentation
4 https://docs.nomagic.com/display/CDH190SP4/Cameo+DataHub+Documentation
5 https://docs.nomagic.com/display/CDH190SP3/Cameo+DataHub+Documentation
6 https://docs.nomagic.com/display/CDH190SP2/Cameo+DataHub+Documentation
7 https://docs.nomagic.com/display/CDH190SP1/Cameo+DataHub+Documentation
8 https://docs.nomagic.com/display/CDH190/Cameo+DataHub+Documentation
9 https://docs.nomagic.com/display/IL2024xR1/Installation%2C+licensing%2C+and+system+requirements
This user guide is an introduction to the UI components of DataHub and some of its features. The last
section of this user guide provides the definitions of the terms used in the DataHub context. The
features of the plug-in that are explained in this user guide includes: User Interface, copy features, OSLC
link and query, and DataHub configuration elements.
Cameo DataHub allows you to work with requirement management tools such as
IBM® Rational® DOORS®, IBM® Rational® DOORS® Next Generation, and MagicDraw®. The DataHub
also allows you to copy and synchronize Requirements. DHLink links Requirements to one another and
also links Requirements to system design models and test cases.
Before using DataHub to connect with IBM® Rational® DOORS®, you must first deploy the DOORS
driver (see page 40).
DataHub menu
To access the DataHub menu, you need to start MagicDraw® and open a new or existing project.
• From the MagicDraw main menu, click Tools > DataHub. The DataHub menu items open.
Name Function
Synchronize updates to Synchronizes the node if there are any pending changes. Otherwise, does nothing.
Data Source
Remove non-use Opens the Remove DHLinks Confirmation dialog to remove DHLinks that are not in
DHLink the project.
Migrate DataHub Opens the Cameo DataHub Migration dialog. Data from older versions of DataHub
are migrated to the latest version of DataHub.
3rd Party Libraries Info Opens the 3rd Party Libraries Info dialog.
Note
Some of the DataHub menu items may be disabled if those items are not applicable in the
current context. For example, the Create OSLC query menu item is enabled only when you
have an IBM® Rational® DOORS® Next Generation Data Source open.
Remove Data Removes a Data Source from the DataHub Explorer instances.
Source
New Node Adds a new node under the selected node or Data Source.
Reload Reloads all properties and items on the selected item and sub-items.
Check Changes Reviews all nodes that have been changed or edited without synchronizing them.
The Check Changes menu has four sub-menus
Synchronize Sends data updates from the selected Data Source to all of the related items in other
tools. This option performs data synchronization for DHLinks only, but DHTraces are not
synchronized. The Synchronize menu contains two sub-menus
• Synchronize Node:
Synchronizes data only in the selected node.
• Synchronize Node Recursively:
Synchronizes data under the selected node and all its child nodes.
Update DHLinks Updates pending updates and pending delete DHLinks. This menu item has four sub-
menu items
Remove DHLinks Removes all the DHLink information from the selected node. This menu item has four
sub-menu items
• Remove DHLinks:
Removes all DHLinks from a single node.
• Remove DHLinks Recursively:
Removes all DHLinks from a node as well as all its children.
• Remove DHTrace:
Removes all DHTrace links from a node.
• Remove DHTrace Recursively:
Removes all DHTrace links from a node and all its children.
Create Alias Creates an alias for the selected node and adds it to Alias Manager.
Properties Opens the Cameo DataHub Properties tab and DH Links panel for the selected node.
Important
Removing a Data Source deletes all of its mappings and DHLinks.
Related page
1. From the MagicDraw main menu, click Options > Environment. The Environment Options
dialog opens.
2. On the left-hand side, select Keyboard. From the expandable list, select DataHub.
Tip
If the key or key combination you have pressed has already been assigned to another function,
it will display "Currently assigned to: <assigned function>" below the Press new shortcut key
box. In this case, choose another key combination.
Copy Data
This operation only copies data. It does not allow synchronization.
Trace links or DHTrace links can exist between text-based Requirements and models or elements that
define them, like use cases, system artifacts, documents, and other Requirement objects.
When the nodes being traced are modified, deleted, or moved, you can right-click a node in either the
MagicDraw Containment tree or DataHub Explorer and select Check DHTrace Changes Recursively.
Choosing this option opens up the DHTrace Summary dialog which lists all the Suspect links in the
system. You can choose to clear the Suspect trace through the DHTrace Summary dialog or you can
leave them. In this case, the Requirement is validated.
You can then right-click the node in the MagicDraw containment tree or DataHub Explorer and choose
Check DHTrace Changes Recursively. The DHTrace Summary dialog will open allowing you to clear
the trace links which have acquired a suspect status, thus validating the state of the requirement and
the linked UML element.
Note
In the 19.0 and later versions, the Create OSLC link operation is not displayed and is used
through the Create DHTrace operation instead of the Operation drop-down list in Cameo
DataHub Explorer.
OSLC links can be created when you open an IBM® Rational® DOORS® Next Generation Data Source in
DataHub. You can create OSLC links from IBM® Rational® DOORS® Next Generation artifacts repository
by using the Create DHTrace operation from the Operation drop-down list in Cameo DataHub
Explorer.
Typically, an OSLC link is a relation between two lifecycle artifacts. Relationships are modeled with two
types of properties: link property and backlink property. The following relations have properties listed
in the table below
implementation oslc.implementedBy
affect oslc.affectedBy
track oslc.trackedBy
validate oslc.validatedBy
Related pages
DataHub tree
DataHub tree is composed of nodes, each of which represents either a node or a connected Data
Source. Data in the DataHub tree are arranged hierarchically in a tree structure. It represents all the
data that DataHub contains at that time.
Ic Name Description
o
n
Drivers The drivers to connect to the other tools (CSV, IBM® Rational® DOORS®, IBM® Rational®
DOORS® Next Generation).
Toggle showing Hides all disconnected Data Sources in the DataHub Explorer tab.
only
connected Data
Sources
Toggle showing Displays all Data Sources in the DataHub Explorer tab.
all Data Sources
Disconnected The Data Source (of MagicDraw®, IBM® Rational® DOORS®, or a CSV file) disconnected
Data Source from its source.
Item Any items, e.g., an IBM® Rational® DOORS® object, MagicDraw® element, or CSV item.
Create OSLC Opens the OSLC Query Editor dialog, allowing you to perform basic and advanced
Query queries to an IBM® Rational® DOORS® Next Generation Data Source. This becomes
button enabled when you add an IBM® Rational® DOORS® Next Generation Data Source.
DataHub Deletes an item when the item is dragged onto the icon. A confirmation dialog
explorer Trash appears before deleting the item.
Icon
• MagicDraw® elements
• DOORS objects and modules
• CSV items
• IBM® Rational® DOORS® Next Generation Artifacts
The DataHub Properties tab opens in MagicDraw®, and the properties of the selected item are
displayed.
The table below explains the function of each icon in the DataHub Properties tab in MagicDraw®.
Ic Name Function
o
n
Save Saves changes made to a property name or value. The button is enabled when the
value of the property changes.
DH Links panel
Information about links between elements is arranged in a tabular form in the DH Links panel. This
tab shows the detail of all the links you have added to items from the DataHub Operation drop-down
list.
DHLink maintains synchronization between source and target elements, either bidirectional or
unidirectional.
• From the MagicDraw main menu, click Tools > DataHub > DHLink Panel. The DH Links panel
opens.
The DH Links panel contains icons and a table. Each node in the table has a shortcut menu (see page 27)
called the Actions menu that helps you manage the node and its relations.
The following table provides the description of each column in the table in the DH Links panel.
Data Source and its driver name The name of the Data Source in MagicDraw.
(MagicDraw)
Data Source and its driver name The name and the driver of the Data Source.
(other drivers)
Property button
Contains the Property button that opens up the node’s
properties panel.
Tip
You can click the Property button to see more details of the target node.
Related page
• DH Links panel shortcut menu and Sync Status icons (see page 27)
Command Function
Select MagicDraw project name Selects the element in the MagicDraw Containment tree.
node in Application
Select MagicDraw project name Selects the MagicDraw node in DataHub/Alias Explorer.
node in DataHub Explorer
Select Data Source name node in Selects the node in the original application, e.g., the node originally from
Application DOORS will be opened in the DOORS client application.
Select Data Source name node in Selects the node from other Data Sources, e.g., DOORS, in DataHub/Alias
DataHub Explorer Explorer.
Change Direction (only for root Changes the current direction of synchronization: Two-way Sync, Sync
nodes) from MagicDraw, and Sync to MagicDraw.
View Schema Map Opens the View Schema Map (see page 202)dialog.
Exclude Node (not for root nodes) Skips the synchronization of the selected node and its child nodes.
Include Node Includes the selected node and its child nodes for the synchronization.
Update Pending DHLink (for Synchronizes the node by updating the pending DHLink.
Pending Update items)
Discard Update (for Pending Synchronizes the node by discarding the DHLink.
Delete items)
Note
• DataHub cannot recreate a node if its parent does not exist.
• You can perform the Change Direction and Remove DHLink command(sync relation)
on a root node only.
Red Pending Delete Displays only the DHLink of the Pending Delete status.
Yellow Pending Update Displays only the DHLink of the Pending Update status.
DataHub alias
An alias can be created from any nodes or Data Source. DataHub Alias Manager (see page 31) stores all
available aliases, and they can be either accessed or removed from there.
Related page
• From the MagicDraw main menu, click Tools > DataHub > Alias Manager. The Alias Manager
dialog opens.
• A MagicDraw® project
• An IBM® Rational® DOORS® Next Generation (4.x, 5.x, and 6.x up to 7.0.2)
• An IBM® Rational® DOORS® Client (8.0-8.3 and 9.0-9.7)
• ENOVIA Requirements (Up to 22x FD01)
• A CSV file repository
• An OSLC Provider
There is also a Define target type from attribute value (see page 34) mapping mode only available in group
type mapping mode. Once you use the Define Target Type from Attribute Value mapping mode,
DataHub saves it as the default mode and activates it the next time you copy the same type of data. In
this case, the Copy Data dialog, Copy Data with Sync dialog, or Copy Data with DHTrace dialog does
not open.
Related pages
For individual type mapping, you must start by mapping the parent node first, following the
sequence. Please make sure to map the parent before moving on to the children nodes.
The individual type mapping feature in DataHub arranges all nodes into a tree structure. You can select
a node from the source node and map it to a type in the target node. The auto-mapping function of
DataHub allows you to map similar node types automatically and change the target type that has been
mapped.
Note
Each formal module in DOORS is categorized as one node type.
DataHub usually provides mapping template, e.g., the pre-mappings between DOORS objects and
SysML Requirements with some properties mapped. However, you can now export the mappings done
with a particular module to be a template. Therefore, when you import a new module, the new
template is used.
1. On the main menu, click Tools > DataHub > Schema Map Manager. The Schema Map
Manager dialog opens. There are some properties with pre-mappings.
1. On the main menu, click Tools > DataHub > Schema Map Manager. The Schema Map
Manager dialog opens.
2. Click Import and choose the schema map file. The template will be updated with the new
mapping.
Driver deployment
DataHub supports driver deployment for the DOORS client. This enables the DOORS application to
activate its DataHub menu items and also allows DataHub to create DOORS Data Sources.
Note
• Driver deployment copies the DXL script file into the DOORS addin folder and updates
the registry for DOORS to recognize the addin path. Therefore, you must run MagicDraw
or Cameo products as an administrator to allow these operations during driver
deployment.
• You must close the DOORS application before driver deployment since folders are write-
protected when the application is active.
1. From the MagicDraw® main menu, click Tools > Datahub > Driver Deployment. The Driver
Deployment dialog appears.
2. Select the DOORS version you would like to add and then click .
3. A browse dialog opens. You must navigate to the DOORS installation directory to load the driver.
OSLC support
Since Cameo DataHub 18.1, DataHub has begun implementing features to support OSLC interactions.
Open Services for Lifecycle Collaboration (OSLC) is a community standardizing the way that life cycle
tools work together. With support for OSLC, DataHub can easily communicate with other software such
as IBM® Rational® DOORS® Next Generation, which also supports OSLC integration. Therefore, you can
share and use linked data, analyze, track, and explore them via OSLC links between DOORS Next
Generation artifacts and DataHub data nodes.
Add-on features
The current release of DataHub features enhanced capabilities and emphasizes more usability. The
Conflict Dashboard keeps track of the changes of on both sides of the source and target nodes, which
allows you to consider data synchronization. The text search function enables convenient searching for
data or items in DataHub Explorer and Alias Manager. Available filtering inactive Data Sources makes it
easier for you to focus on working active Data Sources, and the data copy progress bar shows the
remaining percentage to complete the data copying operation.
• Text search in DataHub Explorer and Alias Manager (see page 42)
• Inactive Data Source filter (see page 42)
• Data copying progress bar (see page 43)
The Inactive Data Source Filter button is available on the DataHub Explorer toolbar. You can use
this filter to filter out all inactive Data Sources from the DataHub Explorer tree.
Note
• Nodes under particular drivers in DataHub Explorer also represent nodes in the
applications belonging to the drivers.
• If a driver is correctly started, the name of the driver will appear in the DataHub
Explorer tree. The driver will then connect to data in each of its respective application.
Related page
• IBM DOORS
• IBM DOORS Next Generation
• CSV Files
Once you have the Data Sources in DataHub open, you can start using more advanced DataHub
features, e.g., copying data and DHLink relations between Data Sources. The synchronization features
of DataHub are also illustrated in this chapter.
Related pages
1. From the MagicDraw main menu, click Options > Environment. The Environment Options dialog
opens.
2. On the left-hand side of the dialog, select Cameo DataHub in the list.
Note
This customization applies for the entire DOORS Data Source. You cannot customize the node’s
label for only some modules.
2. The Customize label dialog opens. Enter the name of property that you want to display for the
module and object by placing the property name inside quotation marks. You can append more
properties or add some text, e.g., “Object Identifier”::”Object Heading”. Click OK.
Operation Function
Copy Data with Sync Copies data and creates synchronization (DHLinks) between the source and target
nodes. Nodes in the modeling tool are updated or deleted whenever their
corresponding nodes in associated tools are updated or deleted. The newly created
nodes can be transferred to other associated tools as well.
Copy Data with Copies data and creates DHTrace links between the source and target nodes. DHLinks
DHTrace are used to trace the changes.
Create Sync Recreates synchronization (DHLinks) if you lose or delete the DHLinks without
replicating the data.
Create DHTrace Creates DHLinks between the source and target nodes without copying any data.
(with OSLC links) Creates an OSLC link from an IBM® Rational® DOORS® Next Generation Data Source to a
MagicDraw® element.
• The parent-and-child relationships are transferred from the source to the target items.
• The dependency relationships from MagicDraw® are also transferred if both the source
and target nodes are selected.
• By default, Copy Data with Sync is selected in the operations list.
The export dialog, e.g., Copy Data with Sync (depending on the operation you have selected
The detail of each option in the export dialog is explained in the table below.
Option Function
Mapping mode You can either do Individual Type mapping or Group Type mapping. Individual
type mapping allows you to map the individual nodes themselves, and Group
Type mapping allows you to map the node type as a whole.
Set as default The source nodes are mapped to the selected stereotype element type as default.
target type The export dialog will not open when you copy the same type of data next time.
Define Target This mapping option is only available for group type mapping mode. In this
Type from mapping mode, you can specify node values and their target types.
Attribute Value
Exclude all no- Unmapped nodes will not be copied, and the source nodes will be marked as
mapped nodes excluded with an 'X' symbol. Unmapped nodes are marked with red circles beside
from DHLinks them and the mapped ones have green circles.
Sync Direction Two-way sync, One-way Sync from MagicDraw, and One-way Sync to
MagicDraw. Two-way sync changes the nodes on both ends, while one-way sync
only synchronizes changes from the source node to the target node.
a
2. Choose a mapping type, either individual or group. Map the source types to target types and
map source attributes to target attributes. When the nodes have all been mapped, the red circles
beside them change to green. You can select Exclude all no-mapped nodes from DHLinks the
checkbox to exclude nodes that have not been mapped from being copied.
3. Click OK. The nodes are copied to the MagicDraw® Containment area.
Related page
You can construct two types of OSLC queries to query an artifacts repository - simple or basic query
and advanced query based on SQL or SPARQL. You can also find more information about OSLC queries
on the OSLC Specification website10.
Related Pages
Data Synchronization
Synchronization is primarily used for keeping track of changes. Data synchronization allows you to track
different types of changes and maintain the consistency of data across nodes in different data sources
and applications. Data synchronization can be categorized into two functional types namely, Data
Source synchronization and Node synchronization. For more information, refer to Synchronization (see
page 226).
10 http://open-services.net/+
User Guide
Welcome to Cameo DataHub user guide!
See the following chapters to learn more about the product and its features or use the search box to
find the information you need:
• Copy
• Link
• Synchronize
You can copy Requirement objects, and link them to one another as well as system models, for
example, Use Cases and Diagram elements. You can create OSLC links and synchronize the
repositories. This chapter also explains OSLC support and how to use it with Cameo DataHub.
To use Cameo DataHub, make sure you have deployed it in your application (see page 40). The DataHub
plugin works with both local and Teamwork Cloud projects11.
Note
• To load a MagicDraw® Teamwork Cloud project as a Data Source in DataHub, you must
first log on to MagicDraw® Teamwork Cloud.
• Only the Locked For Edit Teamwork Cloud project elements can perform DataHub
functions, e.g., copying and creating OSLC links and queries or synchronizing data.
Related pages
11 https://docs.nomagic.com/display/MD2024xR1/Using+Teamwork+Cloud
1. In the main menu of your modeling tool, select Options > Environment.
2. When the Environment Options dialog opens, select the Cameo DataHub option group on the
left side of the dialog.
Confirmation
You can adjust the behavior of the Confirmation popup dialogs in DataHub through the Confirmation
option group.
The following table explains each Confirmation option group in the Cameo DataHub Options dialog.
Option Function
Show a confirmation dialog when Opens a confirmation dialog before synchronizing data.
synchronizing data.
Show a warning dialog about the Opens a warning dialog that copying or synchronizing data erases
lost Rich Text format when copying the Rich Text format.
or synchronizing data.
Show a confirmation dialog when Opens a confirmation dialog before deleting a node.
deleting node action.
Show a confirmation dialog when Opens a confirmation dialog before deleting a node whose status is
deleting Pending Delete status. PendingDelete.
Show a confirmation dialog when Opens a confirmation dialog before deleting a schema map.
deleting the schema map.
Show a warning dialog when the Opens a warning dialog when editing a schema used in another
schema being edited is used in project.
another project.
Show a warning dialog when Opens a warning dialog before copying data when some nodes
copying data. have not been completely mapped.
Show a warning dialog when saving Opens a warning dialog about saving a property value and erases
a text property that causes the format.
formatting lost.
Show a warning dialog when Opens a warning dialog that synchronizing data relocates some
synchronizing at another side of the out-of-scope nodes on the other side within the DHLink.
Out of Scope node.
Show a confirmation dialog when Opens a confirmation dialog before removing the DHLink of the
removing DHLink. selected node.
Show a confirmation dialog when Opens a confirmation dialog before removing DHLinks of the
removing DHLinks recursively. selected node and its hierarchy.
Show a confirmation dialog when Opens a confirmation dialog before overwriting a schema map.
replacing the existing map.
Show a confirmation dialog when Opens a confirmation dialog before updating all pending DHLinks
updating all pending DHLinks of the selected node and its hierarchy.
recursively.
Show a confirmation dialog when Opens a confirmation dialog before updating all pending DHLinks
updating all pending DHLinks. of the selected node.
Show a confirmation dialog when Opens a confirmation dialog before updating a node whose status
updating the Pending Update is PendingUpdate.
status.
Show a confirmation dialog when Opens a confirmation dialog before discarding the pending
discarding pending DHLinks. DHLinks.
Show a confirmation dialog when Opens a confirmation dialog before discarding the pending
discarding pending DHLinks DHLinks recursively.
recursively.
Show a confirmation dialog when Opens a confirmation dialog before discarding the orphan DHLinks.
discarding orphan DHLinks.
Show a confirmation dialog when Opens a confirmation dialog before discarding the orphan DHLinks
discarding orphan DHLinks recursively.
recursively.
Show a confirmation dialog when Opens a confirmation dialog before removing orphan DHLinks.
removing orphan DHLinks.
Show a confirmation dialog when Opens a confirmation dialog before removing orphan DHLinks
removing orphan DHLinks recursively.
recursively.
Show a confirmation dialog when Opens a confirmation dialog before excluding entities recursively.
excluding entities recursively.
Show a confirmation dialog when Opens a confirmation dialog before excluding entities.
excluding entities.
Show a confirmation dialog when Opens a confirmation dialog before including entities recursively.
including entities recursively.
Show a confirmation dialog when Opens a confirmation dialog before including entities.
including entities.
Note
• An out-of-scope node is a node that has been relocated outside the root node.
Therefore, the node hierarchy is changed.
• Synchronizing on the side where some out-of-scope nodes exist does not change the
node hierarchy of the related nodes on the other side. Therefore, a warning message
does not open, but synchronizing from the other side moves the out-of-scope nodes to
their original locations.
General
DataHub allows you to select default options for mapping type and policy, filter, and synchronization in
the General environment option group.
2. Open the General option group and update the required options.
3. Click OK.
Option Function
Synchronize data when saving project Enables automatic synchronization with MagicDraw® when
you save a project.
Set the Group Type Mapping as the Sets the default mapping to group type mapping when
default mapping copying data.
Filter a MagicDraw data source from the Hides the display of MagicDraw® Data Sources in DataHub
DataHub explorer Explorer and shows the Data Sources when cleared.
Auto layout when copy to diagram The diagram layout is adjusted automatically to fit the newly
added element.
Show copy dialog when import If True, opens the Copy Data with Sync dialog while importing
the data.
Mapping policy Shows options for displaying the mapping dialog that you can
select in the drop-down list, as follows:
Save HTML images from the data source Saves HTML images from the data source in the project as
in the project as attached files attached files.
2. Go to the IBM Rational DOORS group and update the required options.
The following table explains the IBM Rational DOORS options in the Cameo DataHub Options dialog.
DataHub DOORS DXL file location For DOORS integration, DataHub provides options to
configure how the DXL script is used. There are two options
for the DOORS DXL file locations as follows:
• Deployed folder
For each DXL request, DataHub will look for a DXL
command stored in the DOORS addins folder.
The DXL script file will be available after you have
completed driver deployment (see page 40) for
DOORS.
• DataHub plug-in folder
For each DXL request, DataHub will look for a DXL
command stored in the DataHub plugin folder.
The DXL script file will be available by default.
Show the 'Go To DOORS object satisfied by the If True, enables the Go To DOORS object satisfied by the
selected element' menu selected element menu.
Use read only DOORS DXL file If True, opens the DOORS module in read-only mode.
Ignore DXL attribute If True, ignores the DXL attributes whose value is populated
from the DXL script.
Do not use the DXL file (commands are sent on If True, sends each DXL request directly to DOORS without
requests) using the DXL script file.
Note
If the configuration of DXL commands from the
script file is restricted with specific security
settings that limit the access to the selected
folders at DataHub DOORS DXL file location on
some machines, you can select the Do not use the
DXL file (commands are sent on requests)
option to solve this problem.
2. Go to the IBM Rational DOORS Next Generation option group and update the required
options.
The following table explains the IBM Rational DOORS Next Generation options in the Cameo DataHub
Options dialog.
Option Function
Maximum concurrent Takes a numerical value for the maximum number of concurrent
connection connections.
Show all GC data source If True, all Global Configuration data sources are visible on the Cameo
DdataHub Explorer panel, including removed and inactive data sources.
Use JxBrowser incognito mode Enables Incognito mode for the default profile. Incognito mode stores user
data, such as browsing history, cookies, and site data in the memory.
Use JxBrowser GPU JxBrowser renders content using GPU (Graphical Processing Unit) and
displays it directly.
ENOVIA Requirements
This section explains the ENOVIA Requirements setting in the Cameo DataHub Options dialog.
The following table explains the ENOVIA Requirements options in the Cameo DataHub Options dialog.
Option Function
Maximum Takes a numerical value for the maximum number of concurrent connections.
concurrent
connection
Driver mode Integrated mode enables you to connect to ENOVIA from the 3DEXPERIENCE menu.
DataHub mode enables you to add the ENOVIA data source from the Cameo DataHub
Explorer panel.
Use JxBrowser Enables the Incognito mode for the default profile. Incognito mode stores user data,
incognito mode such as browsing history, cookies, and site data in the memory.
Use JxBrowser GPU JxBrowser renders content using GPU (Graphical Processing Unit) and displays it
directly.
OSLC Provider
This section explains the Generic OSLC Service Provider preference in the Cameo DataHub
Options dialog.
To specify the number of maximum concurrent connections for the OSLC Provider
Option Function
Maximum concurrent Takes a numerical value for the maximum number of concurrent
connection connections.
When you add the Data Source into MagicDraw®, it appears in the DataHub Explorer tree as a Data
Source node.
Related pages
Note
Closing a Data Source doesn’t remove it from the DataHub Explorer tree. This action is only
for deactivation.
• On the DataHub Explorer toolbar, click the Filter inactive data sources button.
Deleting Requirements
To delete a Requirement from the DataHub Explorer tree, do one of the following
1. Type the text you want to search into the search box .
3. To navigate to the Next Result or Previous Result in the highlighted texts, use the navigation
buttons next to the search box.
Creating Alias
To create Alias Explorer
• Right-click a node that you want to create the selected scope and click Create Alias. The Alias
Explorer tab opens, showing only the nodes in the scope that you have selected.
1. On the main menu, click Tools > DataHub > Alias Manager.
2. The Alias Manager dialog opens. Expand each driver to see all of the Aliases under each driver.
Warning
The created Alias is displayed in Alias Manager only when the related Data Source is
connected.
Operation Function
Copy Data with Sync Copies data and creates synchronization (DHLinks) between the source and target
nodes. Nodes in the modeling tool are updated or deleted whenever their
corresponding nodes in associated tools are updated or deleted. The newly created
nodes can be transferred to other associated tools as well.
Copy Data with Copies data and creates DHTrace links between the source and target nodes. DHLinks
DHTrace are used to trace the changes.
Create Sync Recreates synchronization (DHLinks) if you lose or delete the DHLinks without
replicating the data.
Create DHTrace Creates DHLinks between the source and target nodes without copying any data.
(with OSLC links) Creates an OSLC link from an IBM® Rational® DOORS® Next Generation Data Source to a
MagicDraw® element.
• The parent-and-child relationships are transferred from the source to the target items.
• The dependency relationships from MagicDraw® are also transferred if both the source
and target nodes are selected.
• By default, Copy Data with Sync is selected in the operations list.
Related Pages
1. From the Operation drop-down list in Cameo DataHub Explorer, select Copy Data.
2. Drag a source node from Cameo DataHub Explorer to a target node in the MagicDraw
Containment tree.
3. Start mapping the source node attributes to target attribute types. You see the node color
changing from a red circle to a green one, which means the node and its attributes have been
mapped to a target type. The OK button becomes enabled at this point. Click OK to finish the
copying process.
The functions in the Copy Data dialog are explained in the table below.
Mapping Mode Switches between Individual Type Mapping and Group Type Mapping. The Mapping
Mode drop-down list shows the default type that you selected through the Options
dialog.
Source Tree Specifies a data tree of the sources that are copied. You need to specify a target type
for every source type.
• a node that is not copied since the target type does not support
any children.
• a link that is not copied since the source and/or the target type
does not support the link.
The following three rows are for the Define Target Type from Attribute Value mapping mode option.
Define Target Maps by using the Define Target Type from Attribute Value mode. If you select this
Type from mode, you need to define the values and specify the target types of each value in the
Attribute Value provided table. This mode is enabled in Group Type Mapping only.
Attribute Selects an attribute of a source node and define its values and a target type. The
selected attribute is not available to be mapped for the Source Attribute in the
Schema Map table.
Define Value Defines the values of a selected attribute and the target type of each value. The table
(below Attribute) consists of the following columns
• Default
Specifies a default target type. If an attribute value does not
match any mapped values when copying data or creating a
relation, DataHub uses the default target type.
• Priority
Specifies the priority of a target type. It is used when a defined
attribute has multiple values. The first target type on the list has
the highest priority and is always selected first in the mapping
process.
• Value
Selects a value for a target type. If a selected attribute is an
Enumeration, you can choose the values from the drop-down
list.
• Target
Defines a target type for a selected value.
Quick search Finds a particular type that contains the specific searched text.
Target Type tree Shows all types that are allowed to be added according to the type you have selected
in the Data Type tree.
Set as default Sets a selected target type to be the default when the same mapping source attribute
target type is selected next time.
Schema Map Maps source attributes with target attributes and uses them in data synchronization.
Edits a Schema Map by selecting the attributes in the provided Schema Map table.
1. From the Operation drop-down list in Cameo DataHub Explorer, select Copy Data with Sync.
2. Drag a source node to a target node.
10 Drag and drop a source node to target in Copy Data with Sync operation mode
3. The Copy Data with Sync dialog opens. When the nodes and their attributes have been
mapped to their respective target types, click OK.
The table below summarizes the components of the Copy Data with Sync Dialog.
Component Function
Sync Direction Selects which direction to synchronize data from, either unidirectional or
bidirectional:
Mapping Mode Switches between Individual Type Mapping and Group Type Mapping. The Mapping
Mode drop-down list always shows the default type that you have selected through
the Cameo DataHub Options dialog.
Source Type tree Specifies a data tree of the source that is to be copied. You must specify a target type
for every source type.
Identifies a node whose source type needs to be resolved before copying. It refers to
status icon
either a node that needs to be mapped or a node that needs to be excluded from the
DHLink.
Identifies the copied node having its parent copied as a node that has already been
mapped and is now locked since it has a DHLink sync relation.
Define Target Maps by using the Define Target Type from Attribute Value mode. If you select this
Type from mode, you must define the property values and specify the target types of each value
Attribute Value in the provided table.
Note
The Define Target Type from Attribute Value mode is enabled in Group
Type Mapping only.
Attribute Selects an attribute of a source node to define its values and a target type.
Note
The selected attribute is not available to be mapped for the Source
Attribute in the provided schema map table.
Define Value table Defines the values of the selected attribute and the target type of each value. The
(below the table has four columns as follows:
Attribute drop-
down list) • Default
Specifies the default target type. If an attribute value does not
match any mapped values when copying data or creating
relations, DataHub uses the default target type.
• Priority
Prioritizes the selection order in the mapping process. It is
used when a defined attribute has multiple values. The first
target type on the list has the highest priority and is always
selected first in the mapping process.
• Value
Selects a value for a target type. If the selected attribute is an
Enumeration, you can choose the values from the provided
drop-down list.
• Target
Defines a target type for the selected value.
Exclude all non- Excludes all nodes that you select from data synchronization.
mapped nodes
from DHLinks
Target Type tree Shows all types allowed to be added according to the type you have selected in the
Source Type tree. The tree comes from the driver and a Cameo DataHub client shows
the tree accordingly.
Unmaps the selected nodes in the Source Type tree. Unmapped nodes is displayed in
red.
Skips and creates the schema mapping for the selected nodes as Exclude.
Set as default Allows a Cameo DataHub client to create the same type of the target when a source
target type type is selected.
Note
If the mapping has already existed in the system, the new target type
overwrites the old one, and the Schema Map dialog does not open.
Edits a schema mapping by selecting the attributes in the provided schema map
table.
Starts copying with the selected target type and schema mapping.
1. From the Operation drop-down list in DataHub Explorer, do one of the following
• Select Copy Data to copy data only.
• Select Copy Data with Sync to copy data and create synchronization.
2. Drag a node from DataHub Explorer to an element in the MagicDraw Containment tree.
The Copy Data dialog opens and shows the mapping mode and options for mapping the source
and target types.
Note
The dragged nodes from DataHub Explorer into the MagicDraw diagram pane are displayed as
elements.
Information
If you want to copy a DHLink (a MagicDraw® relation or a DOORS link), you must copy all
the parent nodes in this relation. If only one parent node is copied, the DHLink will not
appear.
Tip
You can get a properly arranged diagram by using the MagicDraw® Layout menu. From
the MagicDraw main menu, click Layout > Quick Diagram Layout to rearrange or
reorganize the diagram.
3. To resolve an unmapped node (a node with a red circle), select it from the Source Type tree and
choose a target type that is available on the list on the right side of the dialog.
Tip
• The Copy Data and Copy Data with Sync operations use the default templates in
Schema Map Manager. If you want to map a source node with other element
types, you must edit the default schema mapping.
• DataHub supports mapping multi-valued attributes by using the multiplicity of
models. Therefore, if you map the multiple attribute values to the multi-valued
target attributes, you must create customized stereotypes and properties to apply
to the particular target nodes.
• To map the source node’s attribute to the multi-valued attribute of the target
node, you must select the target node that uses the stereotype node and select
the stereotype property.
7. When the data has been copied successfully, the Copy Data with Sync Summary dialog opens
and shows a list of all the copied data.
To copy data or create a DHLink from a Data Source within DataHub Explorer
1. From the Operation drop-down list in DataHub Explorer, do one of the following
• Select Copy Data to copy data only.
• Select Copy Data with Sync to copy data and create synchronization links.
2. Drag a node from any Data Source to a node within DataHub Explorer. Either the source or
target node must be a MagicDraw® node.
Tip
The following rules apply to the Copy Data with Sync operation:
• All nodes under the dragged source root node must be able to create the
synchronization links.
• A node cannot have more than one Sync relation with one Data Source. For example,
node a has a Sync relation with Data Source D1. Therefore, node a cannot create another
Sync relation within D1, but it can create a Sync relation with any node under Data
Source D2 or other Data Sources.
• You can drag a node whose child has a Sync relation. However, all the nodes under the
Sync node are locked in the Copy Data with Sync dialog and the existing Sync relations
are moved to a new parent node.
• You cannot move an object across the Formal Module in DOORS.
• You cannot change the type of the node that will be moved or has been moved, e.g.,
from a module to an object and vice versa.
2. Drag the nodes from the CSV Data Source to MagicDraw Data Source. A dialog appears
confirming you want to add the nodes recursively. Select one of the following
• If you want to copy the selected node with data hierarchy, select Yes.
• If you want to copy only the selected node without data hierarchy, select No.
3. The Copy Data dialog opens to allow you to choose Individual or Group Type Mapping mode.
Choose a mapping mode and map the source types to appropriate target types.
Note
• Nesting is not possible for CSV data source, as CSV file has no data hierarchy.
• You cannot copy links (a MagicDraw® or a DOORS link) to a CSV Data Source since links
always have data hierarchy with their parent nodes.
• You cannot synchronize relations with a CSV Data Source if you change the attribute
synchronized with a CSV key field because DataHub uses the CSV key field to indicate the
synchronization target.
1. From the Operation drop-down list in Cameo DataHub Explorer, select Copy Data with
DHTrace.
2. Drag some selected nodes from the Cameo DataHub Explorer panel to the Containment tree.
Information
DHTrace can detect a modified or deleted node.
4. Right-click the changed node on either side and select Check DHTrace Changes Recursively.
The DHTrace Summary dialog opens.
5. Select the checkboxes to the left of any Suspect relationships and click OK to clear the Suspect
DHTrace links.
Tip
Copy Data, Copy Data with Sync, and Copy Data with DHTrace all copy data along with links.
To skip copying links, hold CTRL while dragging the nodes. This operation ignores the links in
the application, e.g., DOORS 9.X Link, DOORS Next Generation Link, and MagicDraw Link.
The same data source exists in the Cameo DataHub Explorer panel and the
Modelling tool without DHLinks
To create sync between existing data
2. Drag the parent data set from the Cameo DataHub Explorer panel and drop it over the identical
data set in the Containment tree.
3. The Create Sync Wizard will appear. Perform the Type/Attribute mapping as you would while
using the Copy Data with Sync operation (see page 82).
The matching result displays the matched attributes in green(Sync relation created) and
unmatched attributes in red(Sync relation not created).
• If there are key attributes that do not match (highlighted in red) and you want them to be
included, select the checkbox for the particular value and click Add Sync.
• If there are key attributes that match and you do not want them to be included, select the
checkbox for the particular value and click Remove Sync.
• If there are key attributes that do not match (highlighted in red)and you want them to be
excluded, select the checkbox for the particular value and click Exclude.
• Select Ignore all no sync source entities checkbox, if you want all nodes that did not
match to be ignored. The synchronization will discover them later.
• Select Exclude all no sync source entities checkbox, if you want all the nodes that did
not match to be marked as Excluded. The synchronization will no longer include them in
the operation.
6. Click Finish.
Until every node is marked as synced or excluded, you cannot click Finish.
To create DHTrace
1. From the Operation drop-down list in Cameo DataHub Explorer, select Create DHTrace.
2. Drag any nodes from DataHub Explorer to the MagicDraw Containment tree.
3. When you modify the source nodes, right-click one of them and select Check Changes > Check
DHTrace Changes or Check DHTrace Changes recursively. The DHTrace Summary dialog
appears showing the Suspect status of the DHTrace links.
Note
In the 19.0 and later versions, the Create OSLC link operation is not displayed and is used
through the Create DHTrace operation instead from the Operation drop-down list in Cameo
DataHub Explorer (for IBM® Rational® DOORS® Next Generation Data Source).
OSLC links can be created when you open an IBM® Rational® DOORS® Next Generation Data Source in
DataHub.
1. From the Operation drop-down list in DataHub Explorer, select Create DHTrace.
2. From an IBM® Rational® DOORS® Next Generation Data Source, drag a node into the
MagicDraw® Containment area.
3. A shortcut menu prompts you to choose the type of link. Select one from the shortcut menu. The
link of the selected type will be created.
In addition to property-to-property mapping, you can apply a conversion rule to convert an original
property value to another value when importing or synchronizing the data. You can set the conversion
rule by clicking the Edit rule button at the end of each property mapping in the Cameo DataHub
Schema Map Manager dialog or DataHub operation dialogs.
The Edit rule button in the Copy Data with Sync dialog to set the conversion
rules.
Converting Rule Editor has two converting rule schemes as follows
Important
If there is no matching value, you must manually correct all the mapping attribute values
shown in red.
Converting rules between source attribute values and target values as String
In the Converting Rule Editor dialog, the left table allows specifying the values of source attributes in
String to be converted to target values according to the selected conversion rules. The table on the
right allows the user to select the rules to convert the values of target attributes to source values.
Tip
• To add another conversion rule, click .
• When setting all the conversion rules, you can use for left-to-right reflection or
for right-to-left reflection of the conversion rules for round-trip synchronization.
Using the >> button for left-to-right reflection of the conversion rules for round-trip synchronization.
Important
In case of conversion conflicts, you need to manually correct all the mapping attribute values
shown in red.
The Converting Rule Editor dialog has the following conversion rules
• <CONVERT TO>
Synchronize the converted value if the source value matches the value in the From column.
• <DEFAULT>
Synchronize the original value if the source value matches the value in the From column.
• <IGNORED>
Do not perform any synchronization if the source value matches the value in the From column.
• Copying Requirements to a modeling tool as the SysML Requirement diagram (see page 109)
• Copying Requirements to a modeling tool as the Use Case diagram (see page 111)
• Copying Requirements to a modeling tool with DHLinks (see page 114)
• Copying Requirements to a modeling tool with OSLC links (see page 117)
This section deals with how to copy text-based Requirements from IBM® Rational® DOORS® into a UML
diagram.
To copy Requirements from DOORS Data Source to a modeling tool as the SysML Requirement diagram
1. Add a DOORS Data Source (see page 121)or DOORS Next Generation Data Source (see page 140)in
DataHub Explorer.
2. Select a node and drag it from DataHub Explorer to your modeling tool's Containment area.
3. Map the Formal Module to a package and the object to a base stereotype of the Requirement.
Click OK.
The dragged Requirement elements in the Requirement diagram as the result of copying.
To copy a Use Case from a DOORS Data Source to a modeling tool as the Use Case diagram
1. Add a DOORS Data Source (see page 121)or DOORS Next Generation Data Source (see page 140)in
DataHub Explorer.
2. Drag the selected node from DOORS Data Source to your modeling tool's Containment tree.
The Use Case diagram after copying Requirements from DOORS to a modeling tool.
1. From the Operation drop-down list in DataHub Explorer, select Copy Data with Sync.
2. Drag a data node in a DOORS or DOORS Next Generation Data Source from DataHub Explorer to
the modeling tool's Containment tree.
Note
In the 19.0 and later versions, the Create OSLC link operation is not displayed and is used
through the Create DHTrace operation instead from the Operation drop-down list in Cameo
DataHub Explorer (for IBM® Rational® DOORS® Next Generation Data Source).
This version of DataHub now supports OSLC queries and links that you can create OSLC links through
the Create DHTrace operation (see page 99).
1. From the Operation drop-down list in DataHub Explorer, select Create DHTrace.
2. From an IBM® Rational® DOORS® Next Generation Data Source, drag a node into the modeling
tool's Containment area. A shortcut menu appears, prompting you to select the type of link.
Select one from the shortcut menu.
17 DataHub Explorer
Related pages
1. On the DataHub Explorer toolbar, click the Add Data Source button .
3. Enter the CSV information in the following boxes explained in the table below
Field Function
Key The name of the column header used as the ID of the node.
Note
The Key field is mandatory if you have selected the Copy Data
with Sync operation from the Operation drop-down list in
DataHub Explorer.
Label The name of the column header created as the name of the node.
Note
If you leave the Label field blank, a running number will be
assigned for the name.
Separator Select a delimiter for the CSV file. The available delimiters are comma,
semi-colon, space, and slash.
Save option
If you select the check
box, DataHub makes changes to the CSV file when the CSV item is saved.
4. Click Create.
Note
• A CSV file must contain the names of attributes in the first row and data in the other
rows.
• Once the CSV Data Source has been created, make sure the following conditions
• The order of the data in the tree view in DataHub Explorer is the same as that of
data in the CSV file.
• If you edit the data in the tree view in DataHub Explorer, you must click Save
to save the new data to the CSV file.
• If the data in the CSV file has been updated, you must click Reload
Information
• Nodes under a particular driver in DataHub Explorer represent nodes in the application
that the driver represents.
• If a driver is correctly started, the name of the driver appears in the tree view in DataHub
Explorer. The driver connects to the data in each respective application.
Prerequisite
To add the IBM® Rational® DOORS® data source, the properties file must be updated for JAVA
version 17 and above.
1. On the DataHub Explorer toolbar, click the Add Data Source button.
Warning
Before adding an IBM® Rational® DOORS® Data Source, you must start the DOORS client on
your machine; otherwise, MagicDraw® generates an error dialog box.
Note
When creating the module view:
• All objects are shown in the flat hierarchy.
• Links with the module view Data Source is not supported.
• You can synchronize the module view into MagicDraw, but new elements from
MagicDraw will not be synchronized back to the module view Data Source. To
synchronize new elements from MagicDraw to the module view Data Source, you must
synchronize them from the original Data Source that represents that module.
• The data are available only when the view is visible, thus all DataHub operations for
module view Data Sources need the DOORS module with a particular view to be open at
all times.
1. Right-click a module in DataHub Explorer and select Create data source from View.
1. Right-click any folder, project, or module you want to create the Baseline Data Source and select
Create data source from Baseline.
• To create a Data Source with only the selected module, select a particular module version.
• To create a Data Source with all modules in the Baseline set, select a Baseline set version.
3. Select the Baseline that you want and click OK. You will get a new Data Source that contains the
modules with the specific version you have selected.
1. Right-click any module in the Baseline Data Source and select Copy DHLink from other data
sources.
• When you specify the Object Heading attribute value for an object, the object is recognized as a
Topic.
• When you specify the Object Text attribute value for an object, the object is recognized as a
Requirement.
A custom attribute can be used to identify a variety of requirement types in DOORS. However, that
could be difficult when you have multiple objects to customize.
Using the JSON configuration, you can collectively customize DOORS objects to have multiple types. You
can even import the custom-created JSON configuration file in Cameo DataHub. With JSON
configuration you can write the configuration, as follows:
• (ObjectHeading=blank)+(ObjectType="Req") = Requirement
• (ObjectHeading=blank)+(ObjectType=”ExtReq”) = Extended Requirement
• (ObjectHeading=blank)+(ObjectType=”Physical”) = Physical Requirement
• (ObjectHeading not blank)+(ObjectType="Topic") = Topic
1. Right-click the parent node that you want to recursively apply the type configuration.
2. Select Customize Module/Object data type.
3. Select Import configuration.
When the configuration file is imported, the DataHub tree will refresh.
Copy Data with Sync dialog showing customized nodes after importing JSON configuration
Custom type definition JSON:
{
"custom_types" : [
<Type definition JSON>,
<Type definition JSON>
]
}
{
"value_condition": {
"attr_name": "<attr name>",
"condition": "= | != | > | >= | < | <= | contains | before | after | regex",
"attr_value": "<attr value>"
}
}
{
"all_match" : [
<Value condition JSON>,
<Value condition JSON>,
<Value condition JSON>
]
}
{
"any_match" : [
<Value condition JSON>,
<Value condition JSON>,
<Value condition JSON>
]
}
{
"not_match" : [
<Value condition JSON>,
<Value condition JSON>,
<Value condition JSON>
]
}
Sample configuration:
{
"custom_types": [
{
"type_name": "Topic",
"doors_type": "Object",
Instead of displaying the module names and object headings or object text in the tree, you can now
design the labels of modules and objects by using one or more properties’ values or adding some text.
Note
This customization applies to the entire DOORS Data Source. You cannot customize the node’s
label for only some modules.
2. The Customize label dialog opens. Enter the name of the property that you want to display for
the module and object by placing the property name inside quotation marks. You can append
more properties or add some text, e.g., “Object Identifier”::”Object Heading”. Click OK.
To open the Add Data Source dialog and select IBM Rational DOORS Next Generation as the driver
2. From the Driver drop-down list, select IBM Rational DOORS Next Generation.
To add an IBM Rational DOORS Next Generation Data Source using the Login authentication type
through the embedded browser
Note
If server addresses are copied and pasted into the Service Provider URL and
Authentication URL boxes, the addresses are automatically formatted as the format
examples shown below the boxes.
3. Click Login with browser. The embedded browser opens the DNG Login page.
4. After logging on successfully, close the embedded browser. The newly created DOORS Next
Generation Data Source appears in the DataHub Explorer tab.
To add an IBM Rational DOORS Next Generation Data Source using the OAuth consumer key
authentication type
The Server and OAuth information to be specified is explained in the table below
Server and OAuth information Function
a
3. Click Create.
Information
OAuth consumer key authentication when adding Data Sources for IBM Rational DOORS
Next Generation is similar to the process of adding Data Sources for an OSLC
Provider (see page 172).
Note
Since artifacts in the module and their hierarchy do not reflect the original ones, DataHub will
treat artifacts in the module separately apart from the original artifacts out of the module.
• Right-click the module artifact and select Open module in new window. The module will be
open in another tab.
The selected Evaluation Suggestions DOORS Next Generation module artifact is open in a new tab.
When you work with the module next time, you can open the module through Alias Manager or by
clicking Open module in new window. In the module tab, you can perform all the same DataHub
operations as in DataHub Explorer.
The comment element(s) will be displayed under the Requirement(s) of the selected Data Source.
Note
DataHub does not show the Requirements’ comment elements by default.
• Right-click a Component element in DataHub Explorer and select Create Stream as Data
Source.
Note
• An Initial Stream is used when creating a Data Source for a Component without an
additional Stream.
• If the Component with Stream(s) other than the Initial Stream is selected, the Select
stream list in the Create Stream as Data Source dialog box will appear.
The Select stream list in the Create Stream as Data Source dialog.
• Right-click a Component element in DataHub Explorer and select Create Baseline as Data
Source.
Note
The Select baseline list in the Create Baseline as Data Source dialog box.
Information
• Components on the CDH Explorer panel and DNG side are only visible and available to
use when the Configuration Management for selected projects is enabled.
• The Stream and Baseline Data Source name is represented in the format of <Project Area
name> | <Component name> | <Stream/Baseline name>.
1. Right-click an element in the target Stream or Baseline that DHLink(s) will be copied to and select
Copy DHLink from other data sources.
After links are copied from one data source to the other, both data sources will not contain
synchronized links. Data sources those links are copied from will be displayed with an x icon on the
components, indicating that it is not in synchronization with the model. The other data source the links
are copied to will be displayed with an s icon on the components, indicating that it is in synchronization
with the model.
Note
• The selected element in the target Stream must be the root element of DHLink(s) in the
other Stream Data Source to perform the copying DHLink operation across Stream Data
Sources.
• When the Check for change command is initiated, you need to select which target stream
to check the model against.
• Right-click a Collection element in DataHub Explorer and select Open collection in new
window.
Note
• DataHub records the open Collection artifact tab as a new Alias tree, thus allowing you to
directly open the DOORS Next Generation Collection artifact tab by clicking Tools >
DataHub > Alias Manager and selecting the Collection from the list at the next time you
connect the DOORS Next Generation Data Source.
• All associated DHLinks created will be available only within the Collection artifact tab.
Configuration Management
On this page
1. Right click on the DOORS Next Generation data source and select Create GC Configuration as
Data Source
2. The Create GC Configuration as Data Source dialog box appears. From the Select GC project
list select the GC project. Select the GC component from the Select GC component list. Then
select the stream/baseline you want to work on from the Select GC stream/baseline list. The list
of available streams/baselines in the GC configuration are displayed below. Click Create to
create GC Configuration as Data Source.
Enabling or disabling Configuration Management in DOORS Next Generation affects Cameo Datahub
Explorer Panel in the following ways:
• When Configuration management is not enabled, the content of the default component is
displayed under the project parent node.
• When Configuration Management is enabled, only the project's components are displayed under
the project parent node.
12 https://docs.nomagic.com/display/MD2024xR1/Authentication+with+3DEXPERIENCE+platform
The one specification added is available in the new tab in the Cameo DataHub Explorer panel.
• Select the Add single requirement specification option from the ENOVIA data source shortcut
menu.
The Specification Folder name is not displayed in the Cameo DataHub Explorer panel; only the
name of the Requirement Specification name is displayed. The Specification Folder name is
displayed in the specification selection dialog.
• Mapping source and target types to copy data to and from a modelling tool (see page 52)
• Authentication with 3DEXPERIENCE platform13
You must add the server certificate before adding the Jama Connect data source,
otherwise it may cause your modeling tool to crash.
Supported features
1. You can authenticate with the aid of your User Name and password. Connection to both the
Cloud and On-premise versions of Jama Connect is possible.
2. When connected, you can see the list of all projects available in the Jama Connect web app.
3. You can drill down the structure of a project selected from the list of all projects available to you.
This feature is affected by limitation#1 (see page 169) and limitation#2 (see page 169).
4. The list of properties is available when you double-click the selected Jama Connect Project item
5. Currently, you can only synchronize the selected part of your project from Jama Connect to the
Cameo Model. This feature is affected by limitation#3 (see page 169).
6. The Scheme Map Manager is available to map, create, update, import, export, or set to be used
by default data mappings between the Cameo Model and the Jama Connect project.
13 https://docs.nomagic.com/display/MD2024xR1/Authentication+with+3DEXPERIENCE+platform
14 https://docs.nomagic.com/display/MD2024xR1/Server+Certificates
1. In the Cameo DataHub Explorer toolbar, click the Add Data Source.
2. In the Add Data Source dialog, select Jama Connect from the Driver drop-down list.
Related page
1. Click on the DataHub Explorer toolbar. The Add Data Source dialog opens.
2. From the Driver drop-down list, select OSLC Provider.
3. Enter the Root Services URI, Consumer key, and Consumer secret (provided by your
administrator).
4. Click Create.
The new OSLC Provider is added to the DataHub Explorer tree.
OSLC Preview
Using DataHub Explorer, you can connect to the Data Sources, such as IBM® Rational® DOORS®,
IBM® Rational® DOORS Next Generation, or other OSLC Providers. DataHub Explorer lists the content
of the open Data Source.
The OSLC Preview tab in the Quick properties panel15 allows you to view the details of the OSLC
resource. The OSLC resource can be selected from DataHub Explorer, in the MagicDraw Containment
tree, and an OSLC link to the other node from the connected OSLC Data Source that links to an element
selected in the Model Browser.
15 https://docs.nomagic.com/display/MD2024xR1/Understanding+the+user+interface
You can use OSLC preview to display the information of the selected node or the linked node in the
following ways:
• When you add an OSLC Data Source into DataHub Explorer, e.g., DOORS Next Generation, the
OSLC Preview tab can display the information of the selected node.
When the Data Source in DataHub Explorer is closed, the preview of the selected element details is
not available. The OSLC Preview tab offers you a link to reconnect to the Data Source.
1. In the OSLC Preview tab, click the Connect to Data Source link.
2. In the login dialog, enter the User ID and Password.
3. Click Connect.
You can link your model elements to the OSLC resources through the hyperlinks.
There are two ways you can link a model element to an OSLC resource:
5. In the Select OSLC Resource dialog, select the Choose Existing option.
6. Select an artifact and click OK.
16 https://docs.nomagic.com/display/MD2024xR1/Specification+window
17 https://docs.nomagic.com/display/MD2024xR1/Specification+window
Note
In the 19.0 and later versions, the Create OSLC link operation is not displayed and is used
through the Create DHTrace operation instead from the Operation drop-down list in Cameo
DataHub Explorer (for IBM® Rational® DOORS® Next Generation Data Source).
3. From the IBM® Rational® DOORS® Next Generation data source, drag a node into the
MagicDraw® Containment area.
4. There is a popup menu after dragging the node to the MagicDraw Containment area. Choose
one type of link from the list that you want to create.
The figures below show the newly created OSLC hyperlinks in the MagicDraw® Containment tree, OSLC
hyperlinks' properties, and an OSLC hyperlink in the DH Links panel respectively.
18 http://open-services.net/
• On the DataHub Explorer toolbar, click the Create OSLC Query button.
The OSLC Query Editor dialog opens.
2. Fill out the information that you want to create the query to search for.
3. Click . The results of the query, if any, appears below the Type text to search box.
• On the DataHub Explorer toolbar, click the Create OSLC Query button.
The OSLC Query Editor dialog opens.
2. Click the tab. In the Query String box, type your query using the simple or basic
query language, e.g., https://10.1.1.70:9443/rm/views?oslc.query=true or using the SPARQL query
language, e.g., https://host:port/bugs?oslc.select=dcterms:created,dcterms:creator{foaf:familyName}
&oslc.where=cm:severity="high".
3. Click . The results of the query, if any, appears below the Type text to search box.
2. The Copy Data dialog opens. From the target type list in the MagicDraw Side group,
choose Extended Requirement. Click OK.
Information
OSLC Query Editor supports the Copy Data, Copy Data with DHTrace, and Create
DHTrace operations.
OSLC tutorial
Cameo DataHub has the ability to use OSLC data from any OSLC-compliant Provider. It is now possible
to establish hyperlinks between model elements and elements provided by an OSLC Provider, as well
as having OSLC previews of remote elements from within a modeling tool environment.
The steps for establishing links between model elements and OSLC resources are shown below:
In the following pages, you will find step-by-step descriptions for linking model elements with OSLC
resources.
Software requirements
To link and share data using Open Services for Lifecycle Collaboration (OSLC) integration, ensure that
the following software requirements are met:
Software versions
You must use the same version of a modeling tool and Cameo DataHub, and the same version
of Teamwork Cloud and Cameo Collaborator for Teamwork Cloud. For more information, see
the product compatibility page19.
Related pages
You must also publish the project as an OSLC resource in Cameo Collaborator for Teamwork Cloud22.
19 https://www.nomagic.com/support/compatibility
20 https://docs.nomagic.com/display/TWCloud2024xR1/Teamwork+Cloud+Documentation
21 https://docs.nomagic.com/display/TWCloud2024xR1/OSLC+API
22 https://docs.nomagic.com/display/CC4TWC2024xR1/Publishing+an+OSLC+resource
1. Add requirements (import or sync) from DNG through DataHub as described at Adding IBM
Rational DOORS Next Generation Data Sources (see page 140).
2. Copy requirements from DataHub to your model as described at Copy Data with Sync
operations (see page 82).
The adding of requirements has been enhanced during OSLC consumer implementation
in version 19.0. Users are able to see the DNG requirement’s OSLC Previews in the OSLC
Preview (see page 172) tab of a modeling tool.
3. After importing requirement(s) to your model under the Copy Data with Sync mode, create
«Satisfy» relationships to/from those requirements to system model elements.
Currently, only SysML’s «Satisfy» is fully covered under this Business Case.
4. Synchronize changes back to the DNG side, as described at Synchronizing Requirements (see page
227).
5. After the synchronization, the changed requirement’s properties will be reflected on the DNG’s
requirements artifact. Additionally, an OSLC backlink is created in DNG. Thus, if the «Satisfy»
relationship between a Block <B> and Requirement <R> was established in your model, a
backlink relationship «Satisfied by» is created in DNG, pointing to the Block’s <B> identifier, which
in OSLC’s context is an http URL.
Currently, only SysML’s «Satisfy» is fully covered under this Business Case.
6. The figure below depicts an OSLC UI preview of the linked Block <B>.(this is not a CC preview!):
23 https://docs.nomagic.com/display/MD2024xR1
24 https://docs.nomagic.com/display/CSM2024xR1
25 https://docs.nomagic.com/display/CEA2024xR1
1. From the Operations drop-down list, select the Create DHTrace option.
2. Drag a node, e.g., a DOORS or CSV Data Source, to the MagicDraw Containment tree.
3. The Create DHTrace Summary dialog box opens to confirm the DHTrace link has been created.
Note
Nodes that contain DHTrace links are indicated with small half-green squares. In the following
figure, the DHTrace links are created between CSV Data Source nodes and MagicDraw
elements. The links are indicated with small half-green squares in Cameo DataHub Explorer
and the MagicDraw Containment tree.
Related page
Removing DHLinks
DataHub provides two options to remove the DHLink of a node as follows
• Right-click a Traced or Suspect link in the DH Links panel and click Remove DHTrace.
• Right-click a node in the MagicDraw Containment tree and select DataHub Actions > Remove
DHLinks.
DataHub will detect the DHLinks that are not being used by any elements in the project, and the
summary will be shown before you are confirmed to delete them.
• Right-click the Requirement node you want to open and select DataHub Actions > Select
Related Element. You can choose DataHub Explorer to open the Requirement node in
DataHub Explorer, or you can choose Application to open the Requirement node in the other
application that the node is associated with, e.g., DOORS.
1. From the main menu, click Tools > DataHub > Schema Map Manager. The Cameo
DataHub Schema Map Manager dialog opens.
You can also select a schema map template in the Schema Map Manager dialog by expanding each
Data Source. DataHub also allows you to view schema maps used by particular relations. You can right-
click an item in the table and select View Schema Map to open the View Schema Map dialog from that
schema map.
If your previous mapping mode is Define Target Type from Attribute Value mapping, it is set as the
default mapping automatically. You can also change the default mapping back to a simple mapping so
that you can use the simple mapping to copy data when the Define Target Type from Attribute Value
mapping mode is not selected.
1. Open the Cameo DataHub Schema Map Manager (see page 202) dialog.
2. Select a source type that you want to edit its mapping. The default target type appears in the
Target Type section.
3. Select a target type in the Target Type section that you want to specify as the default one.
4. Click Set as Default. The selected target type is now the default mapping, and the button
changes to Remove Default.
1. Open the Cameo DataHub Schema Map Manager (see page 202) dialog.
1. Open the Cameo DataHub Schema Map Manager (see page 202) dialog.
2. Select a source type that you want to edit its mapping. The default target type appears in the
Target Type section.
3. Select a target type in the Target Type section that you want to edit. The Select Attribute to Sync
list shows the list of default attributes mapping.
4. Click Edit to enable editing mode.
5. Change the attributes mapping, and then click Save.
Information
Related page
The following video shows the data mapping based on the attribute value in action:
https://www.youtube.com/watch?v=VKWR9lMCGHs
To disable the Define Target Type from Attribute Value mapping mode
To enable the Define Target Type from Attribute Value mapping mode
5. Click Save.
1. Open the Cameo DataHub Schema Map Manager (see page 202) dialog and click .
The Export Schema Map Wizard dialog opens. In the Source Driver and Target Driver
sections, select the source and target Data Source that you want to export its mapping. Click
2. Select the data types that you want to export their mappings and click .
1. Open the Cameo DataHub Schema Map Manage (see page 202)r26 dialog and click .
26 https://docs.nomagic.com/display/CDH190/Mapping+with+Schema+Map+Manager
1. Open the Cameo DataHub Schema Map Manager (see page 202) dialog.
2. Select a source type that you want to edit its mapping. The default target type appears in the
Target Type section.
3. Click Delete. A confirmation dialog box to confirm the deletion opens. Click Yes.
Note
If you delete a schema map that is currently in use, an error message opens, showing that one
or more relations are using the deleted schema map. Therefore, you must delete the relations
first, and then delete the schema map.
DHLink Summary
If you have many DHLinks to review, you can select DHLink Summary from the DataHub menu to
open the Cameo DataHub DHLink Summary dialog and view all types of links. In the DHLink
Summary dialog, you can filter the relations that you want to view and adjust the display. You can also
remove or update a relation, or clear the status.
There are two filter options: No DHLink and DHLink. The No DHLink option filters all elements that
have no DHLink element in the DataHub, and the DHLink option filters all elements that contain
DHLink synchronization.
• Provides the options to extract specific relation types and customize their scope from a project
and to preview them.
• Saves the extracted relation types in the customized scope to be included in a generated report.
• Generates DHLink Summary reports in HTML containing the selected relation types.
1. On the MagicDraw main menu, click Tools > DataHub > DHLink Summary.
2. The DHLink Summary dialog opens. The Filter Options pane on the left-hand side allows you to
choose what type of relations you want to see. You can select one of the following:
• No DHLink to display independent standalone elements and nodes without any DHLink.
• DHLink to display the relation between elements. The state of the DHLink could be
Synchronized, Orphan, Pending Delete, Pending Update, or Excluded.
• DHTrace to display the state of a DHTrace. If the DHTrace is changed on either side, it
becomes Suspect. If there is no change, its state remains as Traced.
3. Select any check boxes that represents the driver and Data Source to open them in the DHLink
summary.
4. Click . The DHLink summary displays on the right-hand side of the dialog.
The table below provides the description of each column in the DHLink Summary dialog.
Column Description
Source The name of the element or node in a selected driver that has a DHLink.
Target The name of the element that has a DHLink with another element in the Source column.
DHLink Type The type of DHLink between the Source and Target.
Status The status of the DHLink that can be Synchronized, Pending Update, Pending Delete,
Excluded, or Orphan.
Directions of DHLinks
Besides showing types of DHLinks and the source and type elements that have DHLinks, the DHLink
Summary (see page 214) dialog displays the direction of the DHLink with an arrow. The arrow describes
the direction of synchronization graphically, either unidirectional or bidirectional.
Two-way sync Synchronized Data synchronization can be performed on both sides, which
are source or target with the Synchronized status.
One-way Sync Synchronized Selecting this synchronization mode allows the Data Source
from from the node with a DHLink in the other driver picks up
MagicDraw changes from the MagicDraw Data Source.
One-way Sync Synchronized Selecting this synchronization mode allows the MagicDraw Data
to MagicDraw Source to pick up changes from the node with a DHLink in the
other driver.
--- All Excluded This symbol is used for a DHLink relation that has been
-- excluded and has a virtual relation.
• In the DHLink Summary dialog, right-click a value in the element. The shortcut menu opens.
The shortcut menu of the root data node in the DHLink Summary dialog.
• In the DH Links panel, right-click a Data Source in the element. The shortcut menu opens.
The table below summarizes the shortcut menu items in the DHLink Summary dialog and DH Links
panel.
Menu Function
Change Direction (only for the root Changes the direction of synchronization: Sync from MagicDraw
element) and Sync to MagicDraw.
Remove DHLink Removes the selected DHLink from both of the associated nodes.
Remove DHTrace Removes the selected DHTrace from both of the associated nodes.
Clear Suspect DHTrace Clears the Suspect status from both of the associated nodes.
Select MagicDraw project name Selects the element in the MagicDraw Containment tree.
node in Application
Select MagicDraw project name Selects the MagicDraw node in DataHub/Alias Explorer.
node in DataHub Explorer
Select Data Source name node in Selects the node in the original application, e.g., the node originally
Application from DOORS will be opened in the DOORS client application.
Select Data Source name node in Selects the node from other Data Sources, e.g., DOORS, in DataHub/
DataHub Explorer Alias Explorer.
Discard Update (only for the Synchronizes the node by discarding the DHLink.
Pending Update status)
Exclude Node (not for the root Excludes the node from being included for synchronization.
element)
Include Node Includes the selected node and its child nodes for the
synchronization.
Update Pending DHLink (only for Synchronizes the node by updating the pending DHLink.
the Pending Update status)
View Schema Map Opens the Schema Map Manager (see page 202) dialog.
After you view a DHLink summary, you can click to save the summary view. The report is
saved in the HTML format so that you can open it in a web browser, e.g., Chrome or Firefox.
1. In the Filter Options pane on the left-hand side of the DHLink Summary (see page 214)
dialog, choose type of relations you want to see in the DHLink summary.
2. Do one of the following to save the report
• Click to save the DHLink summary as a report without viewing the items in
the DHLink summary.
Tip
If you want to save a large amount of data in the report more quickly, click .
The report template code inside the report template file and the construction of
the report layout and data script.
To add another attribute to the report template and generate a DHLink Summary report
<br/
>$DataHubReportEngine.decorateHTMLTag($row.sourceElement.entity.getAttributeVal
ue("<Attribute name>"))
Note
The name of the attribute you want to add in the report template file must be the same
as the one that appears in the Cameo DataHub Properties tab.
A DHLink Summary report generated from the report template before adding
another attribute.
In addition to local and remote connections, DataHub also provides functionality that allows several
users to access and work on the same project including DataHub relations at the same time. This
functionality is available for projects that are stored on Teamwork Cloud.
Related page
The project is treated in compliance with the Teamwork Cloud rules. For instance, you need to log on to
Teamwork Cloud first before checking out the items that you need to work on. For more information
about Teamwork Cloud, see Collaborative modeling27 in the MagicDraw® User Guide.
27 https://docs.nomagic.com/display/MD2024xR1/Collaborative+modeling
You can add a Teamwork Cloud Data Source to DataHub Explorer. You can work on the Data Source
and save the changes. Other users can also do the same things you do to the same project. Therefore,
the project in the Teamwork Cloud Data Source may contain different sets of data as a result of
multiple updates.
As long as all clients update the changes before committing, no conflicts occur because the DHLink map
is stored on Teamwork Cloud along with all the project details.
Information
For more details about setting Teamwork Cloud in MagicDraw®, see the MagicDraw® User
Guide.
1. On the MagicDraw® main menu, click Collaborate > Login. The Login dialog opens.
Auto Login to Server Logs on to Teamwork Cloud automatically when MagicDraw® starts.
Use Secured Connection (SSL) Turns on SSL encryption for data transfer.
1. On the MagicDraw® main menu, click Collaborate > Open Server Project. The Open Server
Project dialog opens.
Important
• All users must connect to Teamwork Cloud using the same host address (IP address or
machine name).
• DataHub handles the items in Data Sources in compliance with Teamwork Cloud rules.
Synchronization
DataHub helps you to Synchronize the data between the modeler and the data source. Synchronization
can be done one way or two ways. You can also check the changes made on either the modeler side or
the data source side.
The following videos show the data synchronization and the data links in action:
https://www.youtube.com/watch?v=O3LijuCItEM
https://www.youtube.com/watch?v=gKiXaQK7Wf8
Related pages
Synchronizing Requirements
Data synchronization is the process of sending all changes in the attribute values including a list of
deleted items from a source to target data. Either the source or target must be a MagicDraw® node.
Data synchronization allows you to maintain the consistency of data across nodes in different Data
sources and applications. During synchronization, all types of changes in a Data Source or application
are stored in the DHLink map along with the project in its repository.
Data synchronization can be categorized into two functional types: Data Source synchronization and
node synchronization.
Data Source synchronization is to synchronize all items in the entire Data Source that have DHLinks in a
current project in an application.
Node Synchronization allows you to synchronize a specific node using either of the following mode:
• Synchronize Node
• Synchronize Node Recursively.
Note
DataHub ignores all excluded nodes in the Sync relations during data synchronization.
You can perform synchronization on the selected node by clicking the Synchronize button on the
DataHub Explorer toolbar.
• Right-click a Data Source and select Synchronize > Synchronize Node or Synchronize Node
Recursively to synchronize all items that have DHLinks within the selected Data Source.
Information
The Synchronize button in DataHub Explorer is enabled only when you select a node or a Data
Source.
When you select a node and right-click to select Synchronize Node, DataHub synchronizes only the
selected node. The Synchronize Node Recursively command synchronizes a selected node and its
child nodes.
After selecting a node that you want to synchronize, choose one of the following procedures to
complete the node synchronization.
1. Select a node to synchronize. On the main menu, click Tools > DataHub > Actions >
Synchronize > Synchronize Node or Synchronize Node Recursively.
To synchronize data with node synchronization on the MagicDraw side through the shortcut menu
• In the MagicDraw Containment tree, right-click a node to synchronize and select DataHub
Actions > Synchronize > Synchronize Node or Synchronize Node Recursively.
• In DataHub Explorer, right-click a node to synchronize and click Synchronize > Synchronize
Node or Synchronize Node Recursively.
When the Data Synchronization Confirmation dialog box opens, click OK to proceed.
Note
• The Synchronize menu item can detect changes in a node that has DHLink information,
and synchronization can begin from the source node or the target node to the other
node.
• Both Check DHLink Changes and Synchronize commands can detect newly created
nodes including the children only at one-level depth. For example, if you want to
synchronize a node that you have synchronized before, but it has another new node
created at the depth lower than one level after the last synchronization, that new node
and its child nodes will not be detected.
• Both Check DHLink Changes Recursively and Synchronize Node
Recursively commands can detect only newly created nodes and their children.
• Synchronization process and Check DHLink Changes process do not involve DHTrace.
Information
The Check DHLink Changes Recursively command checks for changes in both the selected
node and its child nodes.
To access the Conflict Dashboard from a node in the MagicDraw Containment tree
• In the MagicDraw Containment tree, right-click a node and choose DataHub Actions > Check
Changes > Check DHLink Changes or Check DHLink Changes Recursively.
• In DataHub Explorer Panel, right-click a node and select Check Changes > Check DHLink
Changes or Check DHLink Changes Recursively.
When you Check DHLink Changes or Check DHLink Changes Recursively, the Conflict Dashboard
dialog appears if there are any changes.
Properties panel
The Conflict Dashboard Properties panel shows the properties and attributes of the source and target
nodes.
New Green Refers to a new node in the scope or a deleted node at the end of a one-way
Entity synchronization (re-create).
Out of Red Refers to a node that is no longer within the scope of the root node.
Scope Lettering
Excluded Gray Refers to a node that has been excluded from synchronization.
Lettering
Information
If there is more than one Data Source connected, the dialog prompting you to choose a
target Data Source to check for node changes appears.
Directions of synchronization
The synchronization direction allows you to choose the direction from which the changes are sent.
There are three directions of data synchronization in the dialog of the selected DataHub Explorer
operation as follows
•
Synchronizations are in both directions.
•
The third-party Data Source is always synchronized to the MagicDraw Data Source.
•
The MagicDraw Data Source is always synchronized to the third-party Data Source.
Related page
The External Link in DOORS displaying the Relationship and navigating to the
related model element.
To synchronize a related element in the model with Requirements in DOORS as an External Link
1. Right-click the module or parent node of Requirements and select Create/Update External
Links to the Satisfying elements. The External Link will be created in the Requirements that
contain Relationships in DOORS.
2. The Updating External Links dialog opens to show the synchronizing actions of the selected
module or parent node of Requirements. Click Synchronize to proceed with the actions.
Note
One-way synchronization
Synchronization updates data from one end of a DHLink to another. With one-way synchronization,
data flows in only one direction. With two-way synchronization, you can either synchronize data from
the source to the target or from the target to the source. Nodes that are selected for one-way
synchronization have the icons.
If there are no changes in the source data, a message saying there are no changes to synchronize
appears.
1. Drag a source node to a target node. The Copy Data with Sync dialog appears, depending on
what you have selected in the Operation drop-down list. From the Mapping Mode drop-down
list, choose either Group Type Mapping or Individual Type Mapping.
1. Double-click the root node of the DHLink hierarchy or right-click it and select Properties. The
Cameo DataHub DHLink panel opens.
2. Right-click the relation that you want to apply one-way synchronization to and select Change
Direction.
3. Select the synchronization direction that you want. The selected synchronization direction will
recursively apply to all child nodes.
28 https://docs.nomagic.com/display/CDH2024xR1/
Mapping+source+and+target+types+to+copy+data+to+and+from+a+modeling+tool
The Synchronize updates to the Data Source command from the MagicDraw
main menu.
• From the MagicDraw shortcut menu
When you right-click a node and select DataHub Actions > Synchronize > Synchronize Node or
Synchronize Node Recursively, the selected node is synchronized or recursively synchronized.
You can also Update Pending DHLinks, Update Pending DHLinks Recursively, Clear Suspect
DHTraces, Clear Suspect DHTraces Recursively, Remove DHLinks, Remove DHLinks
recursively, Remove DHTrace, and Remove DHTrace recursively.
To copy data and define a target node type from an attribute value
1. From the Operation drop-down list in DataHub Explorer, select one of the DataHub operations to
copy data. The Copy Data with Sync dialog (depending on the operation you have selected)
opens.
2. From the Mapping Mode option, select Group Type Mapping.
Information
• If the attribute is Enumeration, you can select a value from the Value drop-down
list for each attribute.
7. From the target type box on the right-hand side of the source type box, choose a target node
type for that value.
8. Continue mapping the attributes.
9. If you have more values for mapping, click to enter more values for mapping.
Note
• The functionality to map between Attribute value and Target type is available only in
Group Type Mapping.
• At least 2 values must be identified for mapping.
• You can edit or deactivate the mapping in the Schema Map Manager (see page 202) dialog.
Related page
1. From the Operation drop-down list in DataHub Explorer, select Copy Data with Sync. The Copy
Data with Sync dialog opens.
2. Map the data types that you need to copy29.
3. Exclude nodes from being copied by doing one of the following
• Selecting the target type and the Exclude all unmapped nodes from
DHLinks check box.
29 https://docs.nomagic.com/display/CDH2024xR1/
Mapping+source+and+target+types+to+copy+data+to+and+from+a+modeling+tool
4. Click OK to start copying the data. The copied data are indicated with the symbols, and the
data which is not copied are indicated with the symbols.
Information
When you synchronize data next time, DataHub will recognize it as a newly added node to the
target side.
Information
The Check Changes command also checks for changes in the hierarchy of the node that has
DHLinks.
Note
• The Check DHLink Changes Recursively command is enabled only when the selected
node has hierarchy.
• You can check the Pending Delete and Suspect DHTrace links status by selecting the
Data Source of deleted node(s) and choose Check Changes.
1. Select any check boxes of Data Sources on either of the sides. The selected side will be the
master Data Source, and the other side will pick up the changes from the selected side.
Note
A single node can be only synchronized from either the source to the target or the target
to the source. However, multiple nodes can have different synchronization directions,
e.g., one node can be synchronized from the source to the target, and another node can
be synchronized from the target to the source.
2. Click Synchronize.
Related Pages
Note
After you update the schema map, the Edit Schema Map Confirmation dialog opens to notify
that you must synchronize the data again to synchronize the changes to the affected nodes.
1. Select the DataHub_Data_<project> element. Copy and paste it into the same location under
the Model element in the Containment tree. You will get DataHub_Data_<project>1.
2. On the main menu, click File > Export To > Project Usage. The Export Packages to New
Project dialog appears. Select the Package you want to export and choose
DataHub_Data_<project>1.
4. On the main menu, click Tools > DataHub > Remove non-use DHLink. The confirmation dialog
appears. Select Yes.
Note
• When you export the used project, the full DataHub_Data will be copied.
When you select this data type as the target type, the custom attributes, Custom1 and Custom2, are
available.
Schema Mapping
DataHub is capable of synchronizing data in either one-way or two-way direction that you can apply to
other relations, showing updates or changes through checking DHLinks and DHTrace prior to
synchronizing data, excluding some nodes when copying data, providing synchronized changes in data
hierarchy and in schema mapping, arranging nodes into the group type mapping to complete mapping
faster, and dynamically defining target types from attributes' values before copying data.
Related pages
Mapping modes
You can copy data from the MagicDraw Containment tree to DataHub Explorer or vice versa, or
within DataHub Explorer by dragging the source item to the target item. Therefore, you need to have a
Data Type and a Schema Map. If default Data Type or auto Schema Map is not found in the system,
Cameo DataHub asks you to do the mapping.
The Mapping Mode drop-down list in the Copy Data with Sync dialog.
If you have mapped a schema with the option, DataHub saves this
mode automatically and use it as the default mapping mode. You can still change the default mapping
mode through the Copy data dialog.
DataHub also provides a default Schema Map template for mapping data. In the Schema Map
Manager (see page 35) dialog, you can find the default Schema Map template under the
IBM® Rational® DOORS® driver side.
• From the MagicDraw® main menu, click Tools > DataHub > Schema Map Manager. The
Schema Map Manager dialog opens.
UI component Function
Source Type All the source types from all Data Sources currently in the system.
Target Type All the target types from all Data Sources currently in the system.
Set as Default Sets the current schema configuration as the default one. After clicking, the button changes
to Remove Default. Clicking Remove Default removes the schema configuration from the
selected source and target types.
Activate (or Activates or deactivates the selected Define Target Type from Attribute Value (see page
Deactivate) 208)schema.
Note
Activate and Deactivate UI components apply to only the Define Target Type
from Attribute Value mapping option.
Migrate Migrates the required scheme map to the present schema map.
Export Opens the Export Schema Map Wizard (see page 209) dialog to guide you through exporting the
current schema to a file on your file system.
1. On the main menu, click Tools > DataHub > Schema Map Manager. The Schema Map Manager
dialog opens. There are some properties with pre-mappings.
• If any maps are not attribute-defined, select the box(es) in front of the maps and click the
selected map to choose the type object, e.g., DOORS, to change it to a generic type. Click
Next.
1. On the main menu, click Tools > DataHub > Schema Map Manager. The Schema Map
Manager dialog opens.
2. Click Import and choose the schema map file. The template will be updated with the new
mapping.
To enable HTML image support from a data source in a project as an attached file
1. On the main menu, click Options > Environment. The Environment Options dialog opens.
2. In the left pane, select Cameo DataHub. Under the General group, set the Save HTML images
from the data source in the project as attached files option to true, as shown below:
• Right-click the DOORS Data Source and select Enable RTF for text support, shown below:
To enable RTF and OLE support for text style and image
1. Right-click the DOORS Data Source and select Enable RTF for text support.
Enable RTF for text support Allows support of text styles in RTF when copying data from DOORS to
MagicDraw.
Disable RTF for text support Suspends RTF and OLE support.
Enable RTF for OLEs support Copies text styles and images as OLE objects from DOORS to
MagicDraw.
(available after selecting Enable RTF
for text support)
Note
This function may take longer to complete the copying
process, depending on the amount of data.
If you selected only Enable RTF for text support, but did not select Enable RTF for OLEs support after
right-clicking the DOORS Data Source for the second time, copying elements (e.g., Requirements) from
DOORS to MagicDraw will include only text styles (e.g., bold, italic, underline, strikethrough, superscript,
and subscript). However, any image in the data will not be copied.
Image in RTF is not copied from DOORS to MagicDraw when selecting only the
Enable RTF for text support command.
If you selected Enable RTF for text support and then select Enable RTF for OLEs support after right-
clicking the DOORS Data Source for the second time, copying elements (e.g., Requirements) from
DOORS to MagicDraw will include both text styles and image as an OLE object.
Note
Due to the different compatibility of image types between MagicDraw and DOORS, image types
are converted during synchronization between the tools.
Note
• Enabling RTF and OLE support affects all child modules under the DOORS Data Source. If
you want to disable RTF and OLE support, right-click the DOORS Data Source and select
Disable RTF for text support.
• A DOORS object that contains a WMF image is set as read-only to avoid conversion to
BMP, which will result in the loss of functionality for the vector image.
• A DOORS object that contains any other OLE object besides an image is set as read-only
because DataHub does not support OLE objects.
• In most cases, the OLE content (e.g., embedded Excel table or Word) is converted to an
image and synchronized to MagicDraw.
• Right-click on the ENVOIA REQS data source and select Show IP classification attribute
30 https://dsua.dsone.3ds.com/R2023x/English/?show=Lbc3DDashUserMap/lbc3ddash-c-ov.htm
• Right-click on the ENVOIA REQS data source and select Hide IP classification attribute
Alias
Alias is a name that is assigned to a node in the DataHub Explorer tree or MagicDraw® Containment
area tree. This node can then be accessed or removed via the Alias Manager (see page 31) dialog.
Artifact
An artifact is a kind of tangible by-products produced during software development. Some artifacts,
e.g., Use Cases, Class diagrams, and other Unified Modeling Language (UML) models, and requirements
and design documents, help describe the function, architecture, and design of software. Other artifacts
are concerned with the process of development itself, e.g., project plans, business cases, and risk
assessments.
Bidirectional
A source-to-target link. A bidirectional link will update both source and target nodes.
Data
Data refers to an item whose specific format enables it to be synchronized with and referenced to and
from another data. Data can be a MagicDraw® element or relation, a DOORS node or relation, or a CSV
row.
DataHub operations
You can use DataHub operations to copy data, copy data with sync, create OSLC Link, copy data and
create DHTrace, or create DHTrace. The table below describes the functions of the DataHub operations.
Operation Function
Copy Data With Sync To copy data and create a DHLink for synchronization.
Copy Data with DHTrace To copy data and also create DHTrace links between source and target.
DataHub tree
A DataHub tree refers to a tree structure designed to show drivers, Data Sources, and items of the
connected Data Sources in DataHub. The tree within DataHub Explorer has two top levels: DataHub
and Data Sources respectively. The tree consists of four drivers (MagicDraw®, DOORS, DOORS Next
Generation, and CSV) and each driver, except DOORS, has one or more Data Sources.
Data Source
A Data Source refers to the project path of an application. A Data Source can be any of the following
• MagicDraw® project
• IBM® Rational® DOORS® client
• IBM® Rational® DOORS® Next Generation client
• CSV file
An application can have more than one Data Source. Each Data Source refers to a specific project path
and has a unique Data Source ID.
• MagicDraw®
• IBM® Rational® DOORS®
• IBM® Rational® DOORS® Next Generation
• Data repository in the CSV format.
DHTrace
The DHTrace relationship is a specialization of a Dependency, connecting model elements or sets of
elements that represent the same concept across models. A DHTrace is often used to track
requirements and model changes, typically in the Traceability diagram, a Class, Use Case, Object, or the
Composite Structure diagram.
As changes can occur in both directions, the order of this Dependency is usually ignored. The
properties of the relationship can specify the DHTrace mapping, but the DHTrace is usually
bidirectional, informal, and rarely computable.
Excluded
Excluded refers to the status of an ignored node only in Sync relations. The excluded nodes depend on
the Sync relation that one node can have both Excluded and the other synchronization status.
Global ID
A global ID consists of a Driver ID, Data Source ID, Type ID, and Item ID arranged in order and
separated by a delimiter “/”. Each item or item type in the DataHub tree has a unique global ID.
Item
An item refers to a particular element in the DataHub tree. Each item has a unique item ID. Elements
such as drivers, data sources, folders, packages, DOORS formal modules, requirements (data), and
relationships (links) in the DataHub Explorer tree are called items. A node may have nested children as
items.
Glossary (see page 286) refers to an item whose specific format enables it to be synchronized with and
traced to and from another data.
A link (see page 289) is an item whose specific format can link one data to another and also enables it to
be synchronized with other links.
Item type
An item type consists of a list of properties. For example, a SysML Requirement type consists of two
properties (ID and Text). Thus, every item with the same item type shares the same property list. An
item type can be a driver type, Data Source type, IBM DOORS requirement type,
MagicDraw® stereotype, or CSV column. Each item type has a unique Type ID.
Mapping mode
DataHub has two types of mapping, Individual Type Mapping and Group Type Mapping. The
Individual Type Mapping shows the same node structure as the dragged nodes, and you need to map
each source node to each target node. The Group Type Mapping groups nodes according to their
types and allows you to map a source type to a target type.
Module
A DOORS container which may contain hierarchically arranged sub-modules. Typically, this is a
requirement specification tree.
Node
A node is like a leaf in a tree. It represents a distinct point within the tree structure. A node can have
children or be a child itself.
Orphan
Orphan refers to the status of an updated item that attempts to synchronize to the other side of the
relation that has been deleted.
OSLC
DataHub, as of this version facilitates OSLC queries. Open Services for Lifecycle Collaboration (OSLC) is
an open community creating specifications for integrating tools. The goal of OSLC is to create
specifications for interactions between tools.
In OSLC, each artifact in the lifecycle, e.g., a requirement, defect, test case, source file, or development
plan, is an HTTP resource that is manipulated using the standard methods of the HTTP specification
(GET, PUT, POST, DELETE).
OSLC query
DataHub supports two types of OSLC queries - basic query and advanced query. The basic query is a
simple text based on searching, while the advanced query syntax follows SQL or SPARQL.
PendingDelete
PendingDelete refers to the status of an item that occurs because one or more related items have been
deleted. The PendingDelete status is similar to the Orphan status, but the PendingDelete occurs at
synchronization.
PendingUpdate
PendingUpdate refers to the status of an item that occurs because one or more related items have
been updated (changes have been made to the item(s)). Items in the PendingUpdate status can be
either accepted to update the properties or discarded.
Recursively
When this option is chosen, all the child nodes under the selected node are included. Otherwise, only a
single element is processed.
Relationship
A relationship exists between two resources when there is something that connects them. The two
resources work together, belong together, are similar, or should be considered together. There are
different types of relationships.
Requirements traceability
Requirements traceability is concerned with documenting the life of a requirement and providing
bidirectional traceability between various associated requirements. It enables you to find the origin of
each requirement and track every change that has been made to this requirement.
Requirements include design artifacts, implementation, and are finally verified. The artifacts tied to the
latter stages can be traced back to the requirements as well. This is typically done via a Requirements
Traceability matrix.
The table below is an example of attribute mapping between MagicDraw® and the DOORS formal
module.
Id Object Identifier
Status
Status refers to the status of an association item. The status of an item varies depending on the
association type (Sync DHLink or DHTrace). If the association type is a Sync DHLink, the item status
will be Synchronized, PendingUpdate, PendingDelete, Excluded, or Orphan. If it is a trace, its status
might be Suspect.
Synchronized
Synchronized refers to the status of relations that the related nodes need to be the same as the other
side or the status of an item that does not have any pending changes.
Sync relation
DHLink synchronizations are associations between data in both source and target items. Items with
DHLink can synchronize one another. DHLink synchronization is available in the Operation drop-down
list in DataHub Explorer.
There are two kinds of DHLink: Unidirectional and bidirectional.
Unidirectional
This is a one-way synchronization either from a source to a target or from a target to a source.
Unidirectional synchronization changes only one side of the source and target.
Troubleshooting
31 https://docs.nomagic.com/display/MD2024xR1/Server+Certificates
32 https://docs.nomagic.com/display/MD2024xR1/3DEXPERIENCE+troubleshooting
D F
Featured 55
Documentation-space-sample 55