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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

How to get Soft attributes for a given type

jselvaraj
5-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

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=show

 

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

Top Tags