Altova MapForce 2025 Enterprise Edition

AddActiveFile

Home Prev Top Next

Adds the currently active 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

AddActiveFile() -> ProjectItem

 

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.

1703

No active document is available.

1704

Active documents needs to be given a path name before it can be added to the project.

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.

© 2018-2024 Altova GmbH