Please have a look into the ]project-open[ "intranet-reporting-tutotial" package. You will find a project-02.tcl file in the /www/ folder with examples.
Bests, Frank