Webject - 1st attempt
My first attempt at creating a webject in Windchill. I have a general understanding, but things just aren't coming together. I have the following jsp file located under an infoengine\jsp sub-directory. When I execute the JSP, I don't get any error messages, but I don't get any results either. What am I missing???
<%@page language="java"%>
<%@page import="wt.util.*"%>
<%@page import="wt.util.*, java.io.*"%>
<%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"%>
<%
WTProperties wtprops = WTProperties.getLocalProperties();
String wtInstance = wtprops.getProperty("wt.federation.ie.VMName");
%>
<process name="Generate" report"=">
<description>Generates a report from the report template".</description>
<ie:webject name="Query-Objects" type="OBJ">
<ie:param name="INSTANCE" data="com.corning.na.kpwcdev.Windchill"/">
<ie:param name="TYPE" data="WCTYPE|wt.part.WTPart"/">
<ie:param name="ATTRIBUTE" data="name"/">
<ie:param name="WHERE" data="state.state='RELEASED"/">
<ie:param name="GROUP_OUT" data="PARTS"/">
</ie:webject>
<ie:webject name="Return-Groups" type="GRP">
<ie:param name="GROUP_IN" data="PARTS"/">
</ie:webject>
</process>
Any help is greatly appreciated.
Thanks,
James Little
CAD Admin
Corning Cable Systems

