Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi Randy,
In your syntax, IE is going to see "name" as a literal string for comparison. I suspect that you're trying to pass it a variable called "name" that your retrieving elsewhere.
If you're getting the "name" value from a form or passing it from a Java application that's executing the webject, this syntax should work.
<ie:param name="WHERE" data="CADName='$(@FORM[]name[])">
Hope that helps!
In Reply to Randy Jones:
Windchill 9.1 M070
I am attempting to create a webject that will query for epmdocumentmasters whose CADName != name. However the webject query syntax seems to assume the value on the rh side of the comparison operator is a literal string instead of an attribute name. For example:
<ie:param name="where" data="(CADName!=name)"/">
The above will compare the attribute CADName to the literal string "name" which is NOT what I want. I want to compare epmDocMaster.CADName to epmDocMaster.name. How do I do this?
Full webject is here:
<ie:webject name="Query-Objects" type="OBJ">
<ie:param name="INSTANCE" data="<%=com.infoengine.au.NamingService.getVMName()%">" delim="!" valueSeparator="!"/>
<ie:param name="authorization" data="$(@SERVER[]AUTHORIZATION[0])"/">
<ie:param name="type" data="wt.epm.EPMDocumentMaster"/">
<ie:param name="where" data="(containerName=Simba*)"/">
<ie:param name="where" data="(CADName!=name)"/">
<ie:param name="attribute" data="CADName,name,containerName" delim=","/">
<ie:param name="group_out" data="objectsSearched"/">
</ie:webject>
Thanks
--