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

RepositoryImportUtil Class Members

The following tables list the members exposed by RepositoryImportUtil.

Public Constructors
 NameDescription
Public ConstructorCreates a new instance of the RepositoryImportUtil class for the specified repository.  
Top
Public Methods
 NameDescription
Public Method

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.

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

 
Public Method

Imports an image (.jpg /.png/.gif/...) 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.

 
Public Method

Imports an index project (.idx) 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.

 
Public Method

Imports a PDF 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.

 
Public Method

Imports a printer config (.lsp) 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.

 
Public Method

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.

 
Public MethodImports a project file into the repository and returns the ID of the created repository item. Unlike ImportProjectFile, this method will load the project via DOM (see also combit.Reporting.Dom Namespace) and exchange all references to local files (e.g. images) with repository items for those files. Furthermore this method recursively loads all referenced project files (e.g. for drilldown, includes, table of contents, ...) in the same way and also imports their dependencies into the repository. This method call may be expensive, however the imported project should be ready to use from just the repository without needing any local files anymore. When importing multiple files, always use the same instance of the RepositoryImportUtil so already imported files are reused.  
Public Method

Imports a reverse-side project (.gtx) 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.

 
Public Method

Imports a shapefile (.shp/.dbf files) to the repository and returns the IDs of the created repository items (Item1: .shp File, Item2: .dbf File). 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.

 
Public Method

Imports a sketch image 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.

 
Public Method

Imports a table-of-contents project (.toc) 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.

 
Public Method

Sets the parent folder Id of a repository item.

 
Public Method

Sets the (optional) name to display in the UI for a repository item for the specified language. A repository item may have a dinstinct UI name for each language.

 
Public Method  
Top
See Also