Quantcast
Channel: PTC Community : Unanswered Discussions - Windchill
Viewing all articles
Browse latest Browse all 3592

May I get some help? I have a webject and am confused on the where clause syntax.

$
0
0

I use "Search-Objects". If get the name from the form input 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 I define a String, then use it as the where condition .Like:

<%
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!


Viewing all articles
Browse latest Browse all 3592

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>