|Creating projects programmatically (how to use API) [message #506365]
||Thu, 07 January 2010 10:23
| No real name
Registered: November 2009
I'm trying to create a project wihtin the EPF composer programmatically, i.e. i want to create a new Methob Library, then create some activities, and basically build a whole process, but not using the composer itself, but parsing these infos from a file and then create the stuff programmatically.
I see there are classes for these thing in the API, but i really don't know where to start.
Let's say i want to create a new project in the EPF composer. My code is launched by a plugin wihtin the composer. So say i select some file in my plugin and then read it out and want to create some stuff in the composer.
How can i get the EPF composer instance and create a new project programmatically?
in the API i found the class MethodLibraryProject with the static method createProject. But this method wants a path to a method library. So i first have to create one and then somehow get a path out of it?!
It's just that can't find any examples/tutorials/whatsoever.
I would appreciate help very much!
[Updated on: Thu, 07 January 2010 13:27]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01571 seconds