I guess this will solve your problem, change the line to this.

   upgradeNode = upgradeNode.getRunNode();

Regards
Erik

________________________________

Fra: Dahlsgaard Jan [mailto:[EMAIL PROTECTED]
Sendt: ma 24-05-2004 11:18
Til: [EMAIL PROTECTED]
Emne: [development-axapta] How do I export a project from code


Hi

Apparently it should be as easy as:

   treenode _treeNode;
   str projectname = 'JD_Projekt';

   _treeNode = infolog.projectRootNode();
   _treeNode = _treeNode.AOTfirstChild();

   upgradeNode = _treeNode.AOTfindChild(projectName);
   upgradeNode.getRunNode();

   upgradeNode.treeNodeExport('c:\\temp\\expfile.xpo');

but the only content of the export-file is the project-header. Anyone got an idea ?

Regards
Jan Stelsig Dahlsgaard
Fujitsu


[Non-text portions of this message have been removed]




________________________________

Yahoo! Groups Links


*      To visit your group on the web, go to:
      http://groups.yahoo.com/group/development-axapta/
       
*      To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
       
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to