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

How to get Soft attributes for a given type

jselvaraj
Regular Member

How to get Soft attributes for a given type

Hi Everyone,

 

Good Morning.

 

I know there is one utility which will help us to get all soft attributes attached with it for a given soft type.

 

Can you please help me in getting the URL for the same?

 

Thanks in advance.

 

Best Regards,

John

2 REPLIES 2

Re: How to get Soft attributes for a given type

Hi @jselvaraj,

 

I hope you must be looking at http://support.ptc.com/cs/help/windchill_hc/wc102_hc/index.jspx?id=WC_WebjectLib_DescribeAttr&action...

 

Below is the example I created for this:

 

<%@page language="java" session="false"%>
<%@page access="http"%>
<%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"%>

<%
	String instance = wt.util.WTProperties.getLocalProperties().getProperty("wt.federation.ie.VMName");
	System.out.println("*** Instance -> " + instance);
%>

<ie:webject name="Describe-Attributes" type="OBJ">
	<ie:param name="INSTANCE"						data="<%=instance%>"/>
	<ie:param name="ATTRIBUTE" 						data="$(@form[0]attribute[0])" delim=","/>
	<ie:param name="INCLUDE_SOFT_ATTRIBUTES" 		data="true"/>
	<ie:param name="INCLUDE_DESCRIPTORS" 			data="true" />
	<ie:param name="INCLUDE_ATTRIBUTES_FROM_SOURCE" data="SURFACE"/>
	<ie:param name="TYPE" 							data="wt.part.WTPart"/>
</ie:webject>

I hope it helps you.

 

Regards,

Shirish

Re: How to get Soft attributes for a given type

Announcements