This sample will populate a tree of list item elements representing the project file system items. Next the script attaches a click event to the items, and then when the list item is clicked the navigate to pages method is used.
This sample will show different dialogs that can be called from the view service.