There are a couple of reasons to use a datasouce in BlueDolphin knowing:
This article will describe how to automaticly create relations between objects.
First follow the article Import data into BlueDolphin to make your local datasource available in BlueDolphin.
In this article i'll explain the steps you need to take to automaticly create relations between objects based on a loaded datasouce, in my case "Source_Relations_ApplicationComponent_Node".
Before executing the steps, make sure you:
- have a valid BlueDolphin enviroment
- are Administrator in the environment
- have installed the required relationship definition.
I imported the datasource containing the relationship information into BlueDolphin, it has the following layout.
The source contains the ApplicationId, which we lookup using the UniqueId property, and the Workstation name, which we lookup using the object title. In this case we cover both methods we can use to identity object for relationship creation.
Because we want to create relations based on a datasource, select the "Source connection" tab.
There are no "Source connection" configurations available, click the "Add source connection" button. You will be presented a popup dialog where you can configure the source connection settings. See the figure below for my settings.
I gave the Source connection configuration a logical name so i can easily find it in the configuration list. After that i selected the datasource which contains the relationship information.
The popup has 2 parts, the "From" and "To" part, here you make configurations matching the relationship direction you require. I want a Used By relation from Nodes to Application Components so we get a relationship like:
- VB-DSK-001 == used by == Application X
- Application X == uses == VB-DSK-001
After closing the popup dialog using OK, you see the newly added source connection configuration, save the Relationship definition
Relationships are automaticly created during BlueDolphin scheduled actions, there run around midnight, if you cannot wait you can force the relationship detection. Go to the Relationships general tab and click the "Detect relationships" button.
Relationship detection will be started, and depending on the amount of data in the datasource takes some time. When the proces is finished go to the Object view and open a Application Component.
In the figure below i opened the application component "7 Zip".
You already see there is a relationship present, the badge on the relationships tab displays 1. When opening the relationships tab you'll see the relation(s).
When clicking on object link "VB-DSK-001" in the relationship table, the object will be opened, below you see that the node "VB-DSK-001" has various relations.