Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Understand the difference between Models models and Model Viewsmodel views
  • Drag existing modelling components into a modelling view
  • Understand the difference between 'Remove from Model' and 'Permanently Delete' options

In this exercise, you will try some actions that are common when building models, and constructing model views. At the end of the exercise, it is important that you have understood the difference between a model, and a model view.

...

...

Drag existing modelling components into a modelling view

  1. Create a model with Name: Introduction to Modelling 2
    You will now add the objects you created in exercise 3 to this model:
    1. Open

...

    1. the list of database collectors in the

...

    1. repository browser
    2. Find the

...

    1. database collector SOURCE_CUSTOMER_PHONE_NUMBERS - you created this in exercise 3

...

    1. Drag this into the model Introduction to Modelling 2
  1. You could add the other objects you created in exercise 3 in a similar way, from the list of

...

  1. datasources and the list of

...

  1. streams respectively. But instead of this, you will add these to the current model view by using the Show Inputs and Show Outputs functions:
    1. Hover over the

...

    1. database collector you have just added to the model
    2. In the hover menu, press Image Modified

...

    1. Show Inputs; the

...

    1. datasource you created will appear
    2. Hover over the

...

    1. database collector again, and in the tool bar press Image Modified

...

    1. Show Outputs; the

...

    1. stream you created will appear
  1. In the model window, press Save the model layout.
    Now open the model Introduction to Modelling. If you don't already have this open:
    1. Find the list of Analysis Models in the repository browser
    2. Find your model, right click and select Display

The objects you have just added to Introduction to Modelling 2 are still shown. Models are really just views of a selection of objects in PhixFlow, and they show how they are related. Any object can be shown on as many model views as you like; and objects can be linked to objects that are not shown on a view.

...

Remove an object from a model view

  1. Hover over the

...

  1. stream SOURCE_CUSTOMER_PHONE_NUMBERS in the model Introduction to Modelling 2
  2. In the tool bar

...

  1. press Image Added Remove from Model (does not delete)

...

  1. The

...

  1. stream will disappear from the model.
  2. Re-add the

...

  1. stream to the model using Image Modified

...

  1. Show Outputs on the

...

  1. database collector SOURCE_CUSTOMER_PHONE_NUMBERS

...

...

Permanently delete an object

  1. Drag the stream Practice Stream onto the model Introduction to Modelling 2
  2. Save the new model layout
  3. Right click on Practice Stream and select Permanently Delete
  4. Once you have deleted the stream, press Image Modified

...

  1. Refresh on the model
  2. The stream will have disappeared from the model
  3. Go into the model Introduction to Modelling
  4. Press 

...

  1. Image Added Refresh on the model

You will see that the stream has disappeared in this model as well. Permanently deleting an object removes it entirely from PhixFlow, and it will no longer appear in any model view.