Preview
The Preview property corresponds to the Preview button of a target component in a chained mapping in the MapForce GUI. If there are more than one target component, each of the target components will have its Preview button. Only one target component in the main mapping can be used for preview at any one time. If there is only one target component in the main mapping, it is also the preview component.
The Preview property retrieves information about whether the preview of a target component's output is enabled. You can only set this property to true. This then will also implicitly set the Preview property of all other target components to false.
Signature
Preview as Boolean |
Errors
Error code | Description |
---|---|
1200 | The object is no longer valid. |
1201 | Invalid address for the return parameter was specified. |
1234 | Only a target component in the main mapping can be set as preview component. |
1235 | A component cannot be set as non-preview component. Set another component as preview component instead. |