Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

How to Build a search condition which gives folders name from particular product

$
0
0

Hi All,

 

I have a small piece of code, which returns me list of folders present in Windchill db.

 

here is my search condition,

 

SearchCondition sc= new SearchCondition(SubFolder.class,SubFolder.NAME,SearchCondition.EQUAL,FolderName,true);

 

 

Input of Program >>  FolderName.

 

if in Windchill FolderName "abcd" is created under two product, i.e. Product A and Product B.

then it gives me result of "abcd" folder from both products.

 

i want to add some criteria in search condition for particular product, so it gives me folder names of particular products.

 

select folder name "abcd" where product is "Product B".

 

Please suggest.

 

Regards,

Vivek


Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>