MapForce API

Adds the specified document to the project item if the document is a valid child. Otherwise, the document is added to the Mapping Folder of the project's root.

 

Signature

AddFile(in i_strFilePath as String) -> ProjectItem

 

Parameters

Name

Type

Description

i_strFilePath

String

The path of the document to add.

 

Errors

Error code

Description

1700

The object is no longer valid.

1701

The file name is empty. Invalid address for the return parameter was specified.

1705

Mapping could not be assigned to project. The file does not exist or is not a MapForce mapping. Maybe the file is already assigned to the target folder.

 

© 2019-2025 Altova GmbH