combit List & Label 30 - .NET Help
combit.Reporting.Repository Namespace / RepositoryImportUtil Class / CreateNewProject Method

Project type, see LlProject.

Optional. Sets a name to display in the UI for this repository item.

Optional. The folder id in which the new project should be created. To create the new project on the root level an empty string must be passed (default).

Optional. A custom string which will be passed back in the CreateOrUpdateItem() call.



CreateNewProject Method

Adds an empty project of the specified type to the repository and returns the ID of the created repository item. Once the file is ready and the metadata objects are prepared, internally the repository's CreateOrUpdateItem method is called to store it into the repository.

Syntax
'Declaration
 
Public Function CreateNewProject( _
   ByVal projectType As LlProject, _
   Optional ByVal uiName As String, _
   Optional ByVal folderId As String, _
   Optional ByVal userImportData As String _
) As String
 

Parameters

projectType

Project type, see LlProject.

uiName

Optional. Sets a name to display in the UI for this repository item.

folderId

Optional. The folder id in which the new project should be created. To create the new project on the root level an empty string must be passed (default).

userImportData

Optional. A custom string which will be passed back in the CreateOrUpdateItem() call.

Requirements

Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

See Also