Quantcast
Channel: PTC Community : Unanswered Discussions - Windchill
Viewing all articles
Browse latest Browse all 3592

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 3592

Trending Articles