List & Label .NET
combit.Reporting.Repository Namespace / RepositoryImportUtil Class / ImportProjectFile Method

The List & Label instance that the repository is assigned to.

The local path of the file to import.

Optional. A printer config file assigned to this report project (see also ImportPrinterConfigFile).

Optional. A sketch image file assigned to this report project (see also ImportSketchImageFile).



In This Topic
    ImportProjectFile Method
    In This Topic

    Imports a project file (usually a .lst/.crd/.lbl file) 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 ImportProjectFile( _
       ByVal ll As ListLabel, _
       ByVal filePath As String, _
       Optional ByVal importData As String, _
       Optional ByVal printerConfigFile As String, _
       Optional ByVal sketchImageFile As String, _
       Optional ByVal folderId As String, _
       Optional ByVal repositoryItemId As String, _
       Optional ByVal recursive As Boolean _
    ) As String

    Parameters

    ll

    The List & Label instance that the repository is assigned to.

    filePath

    The local path of the file to import.

    importData
    printerConfigFile

    Optional. A printer config file assigned to this report project (see also ImportPrinterConfigFile).

    sketchImageFile

    Optional. A sketch image file assigned to this report project (see also ImportSketchImageFile).

    folderId
    repositoryItemId
    recursive
    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