Skip to main content
10-Marble
September 25, 2023
Question

How to pass NavigationCriteria or setConfigSpecs in Query-Tree webject

  • September 25, 2023
  • 1 reply
  • 2131 views

HI all,

 

I am navigating part usage link of a part and I would like to add configspec into Query-Tree webject. What is the syntax for adding NavigationCriteria  or configSpec? 

 

1 reply

HelesicPetr
22-Sapphire II
22-Sapphire II
September 27, 2023

Hi @gmydoor-2 

Show example what you are trying to do. 

PetrH

gmydoor-210-MarbleAuthor
10-Marble
September 27, 2023

Hi @HelesicPetr 

 

I am passing top part ( parent part) to below webject and fetching child components. In my part structure, child component present is "As designed" view. But since the latest version of this child part in in Manufacturing view, below webject is fetching me Manfacturing view. Ideally i need to get "As designed" view. I assume this can be achieved by config spec. What will be the syntax to pass config Spec in a webject? 

 

<ie:webject name="Query-Tree" type="OBJ">
<ie:param name="INSTANCE" data="$(@FORM[]supporting-adapter[*])" delim="!" valueSeparator="!" default="<%=com.infoengine.au.NamingService.getVMName()%>"/>
<ie:param name="ATTRIBUTE" data="obid,number,name,view,variation2,versionInfo.identifier.versionLevel,iterationInfo.identifier.iterationId" delim=","/>
<ie:param name="GROUP_IN" data="parts"/>
<ie:param name="TYPE" data="wt.part.WTPartUsageLink"/>
<ie:param name="DEPTH" data="${FORM[]depth[]}" default="100" />
<ie:param name="DIRECTION" data="uses"/>
<ie:param name="OUTPUT_TYPE" data="FULL"/>
<ie:param name="MODE" data="FLAT" />
<ie:param name="GROUP_OUT" data="tree"/>
</ie:webject>

gmydoor-210-MarbleAuthor
10-Marble
September 27, 2023

Ya, I have checked this link before. But I was not sure what UFID to pass for SELECTBY_CONFIGSPEC_REF.