cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

How to use multiple value in data of "type" parameter in webject as OBJ of infoengine.

abukane
1-Visitor

How to use multiple value in data of "type" parameter in webject as OBJ of infoengine.

How to use multiple value in data of "type" parameter in webject as OBJ of infoengine.

if my code is for example:

<%@ page language="java" session="false"%>

%<%@ taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"

%><%@ taglib uri="http://www.ptc.com/infoengine/taglib/directory" prefix="dir"%>

    <html>

    <body>

   

    <ie:webject name="Query-Objects" type="OBJ">

        <ie:param name="INSTANCE" data="com.ptc.ptcnet.abukane2d.Windchill"/>

        <ie:param name="authorization" data="$(@SERVER[] AUTHORIZATION[0])"/>

        <ie:param name="type" data="wt.doc.WTDocument"/>

       

        <ie:param name="where" data="()"/>

        <ie:param name="attribute" data="number,name,version,lifeCycleState" delim=","/>

        <!-- The "Return-Group" is named to outputSearched -->

       

        <ie:param name="group_out" data="outputSearched"/>

       </ie:webject>

        <ie:webject name="Display-Table" type="DSP">

    <ie:param name="GROUP_IN" data="outputSearched"/>

    </ie:webject>

 

    </body>

</html>

and for this in "type" parameter i want to enter more values wt.doc.WTDocument, wt.part.WTPart, etc.

so that i can create one report having multiple data displayed

ACCEPTED SOLUTION

Accepted Solutions

The last time I worked on a report, I had tough time in figuring this out , but I got some support from an expert from PTC.

You can either do the below way or use the <ie:param name="TYPE"   data="wt.part.WTPartUsageLink, wt.change2.ReportedAgainst,delim="," />

<ie:webject name="Query-Tree" type="OBJ">

<ie:param name="INSTANCE" data="$(properties[0]wt.federation.ie.VMName[0])"/>

<ie:param name="OBJECT_REF" data="$(parent[]obid[])"/>

<ie:param name="TYPE" data="wt.part.WTPartUsageLink"/>

<ie:param name="DIRECTION" data="uses"/>

<ie:param name="TYPE" data="wt.change2.ReportedAgainst"/>

<ie:param name="DIRECTION" data="theChangeIssue"/>

<ie:param name="ATTRIBUTE" data="number,name,obid" delim=","/>

<ie:param name="OUTPUT_TYPE" data="FULL"/>

<ie:param name="GROUP_IN" data="parent"/>

<ie:param name="GROUP_OUT" data="tree_out"/>

<ie:param name="DEPTH" data="9999"/>

</ie:webject>

Thank you,

Binesh Kumar

Medtronic - MITG

View solution in original post

4 REPLIES 4
PeterCase
17-Peridot
(To:abukane)

Hello Anant,

I moved your post to the PTC Windchill Community, where you'll have more chance of an answer on this I*E question.

Thanks peter..

The last time I worked on a report, I had tough time in figuring this out , but I got some support from an expert from PTC.

You can either do the below way or use the <ie:param name="TYPE"   data="wt.part.WTPartUsageLink, wt.change2.ReportedAgainst,delim="," />

<ie:webject name="Query-Tree" type="OBJ">

<ie:param name="INSTANCE" data="$(properties[0]wt.federation.ie.VMName[0])"/>

<ie:param name="OBJECT_REF" data="$(parent[]obid[])"/>

<ie:param name="TYPE" data="wt.part.WTPartUsageLink"/>

<ie:param name="DIRECTION" data="uses"/>

<ie:param name="TYPE" data="wt.change2.ReportedAgainst"/>

<ie:param name="DIRECTION" data="theChangeIssue"/>

<ie:param name="ATTRIBUTE" data="number,name,obid" delim=","/>

<ie:param name="OUTPUT_TYPE" data="FULL"/>

<ie:param name="GROUP_IN" data="parent"/>

<ie:param name="GROUP_OUT" data="tree_out"/>

<ie:param name="DEPTH" data="9999"/>

</ie:webject>

Thank you,

Binesh Kumar

Medtronic - MITG

thanks binesh!!!!

Announcements


Top Tags