Project-Import

Function Name dcl-Project-Import
Syntax   (dcl-Project-Import ProjectData [as String or List of Strings] {NewPassword [as String]} {NewProjectKey [as String]})
Return Type String

This method imports a project from base 64 encoded binary project data. The encoded data can be any base 64 encoded .odcl file (a project file saved with a .lsp extension from OpenDCL Studio is also in base64 encoded format), or the returned string from Export. If the optional NewPassword argument is specified, it replaces the password saved in the project data. If the optional NewProjectKey is specified, it replaces the project key saved in the project data. If the import is successful, the method returns the project key of the new project; otherwise it returns NIL.