Error when file object is exported before the object to which it is attached - SmartPlant Foundation - IM Update 48 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

Problem

When exporting files, an error occurs when you attempt to export a file object before you export the object to which it is attached, such as when you set the export object weight to export a design file before the design document that is related to the file.

'Object reference not set to the instance of an object'.

Solution

This issue occurs because the file exists in the database before the revision to which it should be attached. Therefore, you must set the export object weighting to export a file object before exporting the file to which it is attached. For example, you must set the export object weight so that design document will be exported before the design file.

SHARED Tip You can rearrange the export object weight in the Stage to Target Object Map using the Data Validator Administration Module. For more information on setting the export object weightings, see Define stage object to target object mappings.