Hi.
Is it possible to get values of all attributes of windchill object? If i don't know inner name of any attribute.
Thanks.
Hi!
This is possible.
Run this code in info Engine Task Editor.
<%@page language="java"%>
<%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"%>
<%
String obid = (String)getParam("obid");
%>
<ie:webject name="Query-Objects" type="OBJ">
<ie:param name="INSTANCE" data="windchill" delim="!" valueSeparator="!" default="<%=com.infoengine.au.NamingService.getVMName()%>"/>
<ie:param name="TYPE" data="wt.doc.WTDocument"/>
<ie:param name="ATTRIBUTE" data="*"/>
<ie:param name="OBJECT_REF" data="$(@FORM[]obid[])"/>
<ie:param name="GROUP_OUT" data="returnAttributes"/>
</ie:webject>
If you want to do more programming in Pdmlink 10 i'd advise you to contact sulis gmbh. They have a quite good framework to seamlessly accessing windchill attributes without worrying wether you use an iba, typed attribute or modelled attribute.
http://www.sulis.de/javadoc/ext/sulis/class-use/AttMagic.html