Queries do not return any results from newly created documents - 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

Currently, the standard behavior of SmartPlant Foundation server performing a document query is to convert the classification tree to their related enums. This configuration has been optimized to be a faster way to query for objects than querying the complete classification tree.

However, if your system is not configured correctly, such as when your classification objects are not matched to their related enums, this conversion does not work. As a result, the query may not return the expected objects, such as any newly created documents.

Solution

You can override the standard query behavior in Server Manager by changing the OverrideClassificationEnumConversion setting. The default is false. Changing the setting to true stops the conversion of the classification tree to their related enum values during a document query. However, the query will then use the complete classification tree to retrieve the objects. Queries configured this way will have a significant performance impact.