Hello Paul,
Is your difficulty getting the latest version of the part?I remember having difficulty getting the same, but many months have passed and I'mnotsure how I resolved it. Looking back in myfiles, Ifind two things, but I'm not sure which onewas the best solution, ifeither. Herethey are:
In the Query-Objects I used
<ie:param name="WHERE" data="(iterationInfo.latest=true)"/">
<ie:param name="WHERE" data="(state.state=RELEASED)"/">
I also used a different webject called "Search-Objects" that has this other param:
<ie:param name="VERSION" data="LATEST"/">
See page p317 WCAdapterGuide.pdf.
I don't know if this helps or not, but thought I'd respond just incase.
Regards,
Glen Herman
Sr Application Developer
Engineering And Technology
Trane Residential Systems
6200 Troup Hwy
Tyler, Texas, 75701
I'm not sure if the original poster found a solution to this, but I just had this same problem. I needed to get the latest version of a set of documents that had been updated since a certain date.
This webject worked.
<ie:webject name="Search-Objects" type="OBJ">
<ie:param name="INSTANCE" data="com.mycompany.Windchill" delim="!" valueseparator="!" default="<%=com.infoengine.au.NamingService.getVMName()%">"/>
<ie:param name="DBUSER" data="admin"/">
<ie:param name="GROUP_OUT" data="document"/">
<ie:param name="PASSWD" data="password"/">
<ie:param name="TYPE" data="wt.epm.EPMDocument"/">
<ie:param name="WHERE" data="thePersistInfo.modifyStamp">='$(@FORM[]moddate[])"/>
<ie:param name="VERSION" data="LATEST"/">
<ie:param name="ITERATION" data="LATEST"/">
<ie:param name="ATTRIBUTE" data="*"/">
</ie:webject>
I hope this helps someone out!