I would like export a Project by code (see example 1). But it doesn't
work well. The export creates a xpo-file, but inside are only the
headers (see example 2), I miss the objects.
Can anyone help me?

**************************************************************
Example 1:
**************************************************************
static void Job9(Args _args)
{
    ProjectNode prn;
    int         exportFlag;

    exportFlag = True;

    prn = infolog.projectRootNode();

    prn = prn.AOTfirstChild();
    prn = prn.AOTfirstChild();

    if (prn)
    {
        prn.
        prn.treeNodeExport("k:\\tmp\\test_export.xpo",exportFlag);
    }
}tFlag);
    }
}
}


**************************************************************
Example 2:
**************************************************************
Exportfile for AOT version 1.0 or later
Formatversion: 1

***Element: PRN

; Navision Axapta Project : ApplUpgrade_V25-V30usr unloaded at
Mittwoch 17.11.04
;
--------------------------------------------------
------------------------------
  PROJECTVERSION 2
 
  PROJECT #ApplUpgrade_V25-V30usr
   PRIVATE
  PROPERTIES
    Name                #ApplUpgrade_V25-V30usr
  ENDPROPERTIES
 
  ENDPROJECT
 

***Element: END

***Element: END







Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to