combit List & Label 24 - .NET Online Web Help
ImportProjectFile Method


combit.ListLabel24.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 custom string which will be passed back in the CreateOrUpdateItem call.

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

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 userImportData As String, _
   Optional ByVal printerConfigFile As String, _
   Optional ByVal sketchImageFile As String _
) As String

Parameters

ll

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

filePath

The local path of the file to import.

userImportData

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

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

Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

RepositoryImportUtil Class
RepositoryImportUtil Members