combit List & Label 29 - .NET Help
combit.Reporting.Repository Namespace / RepositoryImportUtil Class / CreateFolder Method

The ListLabel object to which the repository is assigned.

The folder id of a parent folder. To create the new folder at the root level an empty string must be passed.

Name of the new folder.

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



In This Topic
    CreateFolder Method
    In This Topic

    Creates a folder in the repository and returns the ID of the created repository item.

    Once the item is ready and the metadata objects are prepared, the CreateOrUpdateItem method of the repository is called internally to store it in the repository.

    Syntax
    'Declaration
     
    
    Public Function CreateFolder( _
       ByVal ll As ListLabel, _
       ByVal parentFolderId As String, _
       ByVal folderName As String, _
       Optional ByVal userImportData As String _
    ) As String

    Parameters

    ll

    The ListLabel object to which the repository is assigned.

    parentFolderId

    The folder id of a parent folder. To create the new folder at the root level an empty string must be passed.

    folderName

    Name of the new folder.

    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 7, .NET 8

    See Also