Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
If you are searching, are you using search-objects or query-objects?
I believe the syntax is different depending on which one you are using:
<%
String num = "12345";
%>
Search-Objects:
<ie:param name="WHERE" data="(number='<%=num%">')" />
Query-Objects: (note the () are omitted)
<ie:param name="WHERE" data="number=<%=num%">"/> //might require ' ' around <%=num%>
~Jamie
I have exactly the same issue,
I use "Search-Objects". If get the name from the form as Where condition. It works.
<ie:webject name="Search-Objects" type="OBJ">
<ie:param name="INSTANCE"" data="localdomain.vm-windchill.Windchill"/">
<ie:param name="authorization" data="$(@SERVER[]AUTHORIZATION[0])"/">
<ie:param name="type"" data="wt.epm.EPMDocument"/">
<ie:param name="where"" data="(name='$(@FORM[]name[0])')"/">
<ie:param name="group_out"" data="objectsSearched"/">
</ie:webject>
But if
<%
String whereKeyWord = "C6720PD.CATDRAWING";
%>
Use the following syntax. The result is blank.
<ie:param name="WHERE"" data="(name='<%=whereKeyWord%">')" />
Any help will be appreciated. Thank you so much!