Can I have Sample Code for IProjectLifecycleManager.CreateProject?
In the previous project, I have no problem to create a new project from template programmatically with 17.* version, however I have an issue on that at the moment. Moreover I can not get the code by security policy.
Project has been create successfully but custom type, custom field and sample data has not been created at all and prefix is configured as 'WI' which was not provided by code, provided prefix was ignored.
It works fine with OOTB functionality, I think I'. missing something in my code.
Code: Select all
createProject(ILocation location, java.lang.String projectId, java.lang.String templateId, java.util.Map paramValues)
the last argument 'Map' is suspicious, I think I've missed something to put in the map.
So, it would be great to get me sample code (java) to create a new project based on template.