Altova MapForce 2024 Enterprise Edition

AddFile

Home Prev Top Next

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

 

Signature

AddFile(in i_strFilePath: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.

© 2017-2023 Altova GmbH