Create Links

On Dragon1 you can create links from one model, view or visualization to another or to an url. In this way you can create a set of items you can click through.

For instance, you can create an overview visualization with click's through to detailed visualizations. Or you can link to an uploaded document in your sites folder. Go to the Resources Center to upload your document.

You can even click through to a view template with a parameter.

How to create a link

To create a link:

  • Select a model, view or visualization in your Explorer Treeview
  • Select the shape you want to create a link for
  • Expand the Text Attributes panel
  • Enter in the linkurl field the id of the model, view or visualization you want to go to, like this:
    • visualization:123456
    • model:123456
    • view:123456?
    • url:[,parent|blank]
    • doc:myuploadeddocument.pdf[,parent|blank]
  • Save your model, view or visualization and switch to NORMAL model or PRESENTATION mode
  • If you click on the shape you will see you are forwarded to the other model, view or visualization
  • If you provide a parameter, you can use that parameter in the called model, view or visualization to do something with (alter its behavior).
  • The form for a parameterized link is: visualization:123456,, myattribute:myvalue. Me is the shape you click on, myattribute can be any word (a..z, A..Z) en myvalue can be any word and any number (0..1000000)

If you fill in 'parent' the link will open in the same window. If you fill in 'blank' or nothing the link will open in a new window.

Example of setting up a clickable link

Screenshot showing how to setup a clickable link for a visualization. You can find the id of a visualization by doing a mouse over on the item in the Explorer Treeview. The id is a unique number throughout Dragon1.