List & Label .NET
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).



In This Topic
    CreateNewProject Method
    In This Topic

    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 importData 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).

    importData
    Requirements

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

    See Also