Quick Find menu items - 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)

The Quick Find menu lists all the quick find methods that a user has access to through their role permissions.

The following quick find methods are delivered with the core model.

Qfind method

Client API

Arguments

DesignDocumentQFind

QFindObject

1

ISPFDesignDocRevision

2

DesignDoc Documents

3

ISPFDocumentRevision~SPFRevState~=
~e1WORKING|e1CURRENT

SPFVendorActiveDoc
Find

QFindObject

1

ISPFVendorDocRevision

2

Vendor Documents

3

ISPFDocumentRevision~SPFRevState~=
~e1WORKING|e1CURRENT

SPFVendorAllDocFind

QFindObject

1

ISPFVendorDocMaster

2

Vendor Documents

SPFVendorReserved
DocFind

QFindObject

1

ISPFVendorDocMaster

2

Vendor Documents

3

ISPFDocument~SPFRDocState~=
~e1DocStateRESERVED_INACTIVE

The following quick find method demonstrates how to construct an argument that includes more than one property comparison. Use an ampersand (&) to separate the two property comparisons.

This example allows users to find design documents to which they have access, based on owning group.

Qfind method

Client API

Arguments

DesignDocumentQFind

QFindObject

1

ISPFDesignDocVersion

2

DesignDoc Documents

3

ISPFDocumentRevision~SPFRevState~=~e1WORKING|e1CURRENT&
+SPFItemOwningGroup~IObject~Name~=~ENV.OwningGroupsForUserInQueryConfig

You can also add conditions to the environment variables for property comparisons to perform an expansion. For example, you can traverse from the name of the user to their organization using the variable ENV.User->SPFUserOrganization_12.Name.