Error when file object is exported before the object to which it is attached - HxGN SDx - Update 63 - Administration & Configuration

Administration and Configuration of HxGN SDx

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

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.