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

Translate the entire conversation x

Lifecycle State - Condition to item picker baseWhereClause

Rohaan
13-Aquamarine

Lifecycle State - Condition to item picker baseWhereClause

Version: Windchill 12.0

 

Use Case: I have an Item Picker in my JSP Page where it will retrieve all the Change Notices's from specific context. Wanted to filter CN's based on State -> '(state=''IN PROGRESS') || (state='COMPLETE') Tried above condition but its not fetching the results based on State condition


Description:

 

<tr id="cnPickerRow"><wctags:itemPicker 
		id="CNPicker"
		baseWhereClause="(state='IN PROGRESS')"
		showTypePicker="true" 
objectType="WCTYPE|wt.change2.WTChangeOrder2" 
		componentId="cnPickerID" 
		label="* CN Number" 
		pickerTextBoxLength = "29"
		pickerTitle="CN Number Search" 
		containerRef="<%=coid%>"
		pickerCallback="cnPickerCallback" 
		multiSelect="false"
		displayAttribute="number"/></tr>

 

 

ACCEPTED SOLUTION

Accepted Solutions

Hello @Rohaan,

 

It looks like you have a response from a community member. If it helped to answer your question please mark the reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

View solution in original post

2 REPLIES 2
Daniel_Ada
13-Aquamarine
(To:Rohaan)

请尝试使用这个

 

(state.state='IN PROGRESS')

 

 

Hello @Rohaan,

 

It looks like you have a response from a community member. If it helped to answer your question please mark the reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

Announcements
Top Tags