Example: Qfind method filter using an edge definition - SmartPlant Foundation - IM Update 46 - 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 following is an example of a Qfind method filter for a single tier and a multi-tier query.

+EDG_DocRev_OwnGrp~IObject~Name~=~ENV.OWNINGGROUPSFORUSERINQUERYCONFIG

+EDG_DocRev_OwnGrp~IObject~Name~=~ENV.OWNINGGROUPSFORUSERINQUERYCONFIG~ISPFDocumentRevision~SPFRevState~=~e1WORKING|e1CURRENT

Example XML of the method

<SPFMethod>

<IObject UID="MTH_SPXQFindEngineeringDocument" Name="SPXQFindEngineeringDocument" Description="QFind Engineering Document" ContainerID="SPX.DMS" />

<ISPFGUIDisplay SPFGUIDisplayAs="QFind Engineering Document" />

<ISPFAdminItem />

<ISPFSubscribableItem />

<ISPFMethod SPFArgument5="False" SPFAvailableinDesktop="True" SPFAvailableinWeb="True" SPFArgument1="IEngineeringDocRevision" SPFArgument3="+DocRev_OwnGrp~IObject~Name~=~ENV.OWNINGGROUPSFORUSERINQUERYCONFIG" />

</SPFMethod>

<Rel>

<IObject UID="C_QFindObject.MTH_SPXQFindEngineeringDocument" Name="" Description="" ContainerID="SPX.DMS" />

<IRel UID2="MTH_SPXQFindEngineeringDocument" DefUID="SPFClientAPIMethods" UID1="C_QFindObject" />

</Rel>

Example XML of the edge definition

<EdgeDef>

<IObject UID="EDG_DocRev_OwnGrp" Name="DocRev_OwnGrp" Description="" />

<IEdgeDef PathDefn="+SPFRevisionVersions,+SPFItemOwningGroup" StartInterfaceName="ISPFDocumentRevision" RelCount="1"/>

<ISimpleCriteria PropComparisons="" />

<IEdgeDef2 />

<IPositionCriteria />

<ISchemaObj DisplayName="Show Owning Group" ByCust="True" />

<ISPFEdgeDefExt />

</EdgeDef>

<Rel>

<IObject UID="DocRev_OwnGrp.ISPFDocumentRevision" Name="" Description="" ContainerID="DW.EdgeDefs" />

<IRel UID2="ISPFDocumentRevision" DefUID="UserEdgeDefInterfaceDef" UID1="EDG_DocRev_OwnGrp" OrderValue="0" IsRequired="False" />

<ISchemaObj />

</Rel>