Filtering documents by owning group - 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)

Owning group is modeled as a relationship to the document version. Quick Find is usually configured on the document revision.

Filter to get the latest version by the owning group on the version and define an edge definition from the revision to the owning group.

  • SPFDocRevDocVerOwningGroup = +SPFRevisionVersions,+SPFItemOwningGroup

Expansion of this edge returns all owning groups on all versions of the revision.

Set up the query filter testing against the ENV variable containing all the user's owning groups.

  • +EDG_SPFDocRevDocVerOwningGroup~IObject~Name~=~ENV.OWNINGGROUPSFORUSERINQUERYCONFIG

    This works despite the = sign and the fact that the ENV variable returns a set of owning groups.

Add a second comparison to return only current or working documents.

  • ~ISPFDocumentRevision~SPFRevState~=~e1WORKING|e1CURRENT return only working or current documents