Skip to content
Olivier Aubert edited this page Oct 2, 2017 · 2 revisions

How to have a static view automatically opened when loading a package

As illustrated in the Nosferatu example package 1, it is possible to have a static view automatically opened, in an external browser window, whenever the package is opened.

The principle is to define a dynamic view, that will react to the event “Start of the dynamic view” by the rule “Open a URL in a browser window”. You have then to enter the url of the static view you want to open. Don't forget to prefix it with “string:” (this is a TAL expression).

Finally, you have to declare the new dynamic view as the default dynamic view of the package (edit the package attributes from the tree view to do that).

Clone this wiki locally