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

Translate the entire conversation x

API code to fetch all the EPMDocument's in the system without passing inputs like number etc..

NP_10570407
12-Amethyst

API code to fetch all the EPMDocument's in the system without passing inputs like number etc..

I am using Windchill PDMLink Release 11.2 and Datecode with CPS 11.2.1.17

API to fetch collection of all EPMDocument objects in the system without passing inputs like number, name etc..

2 REPLIES 2
avillanueva
22-Sapphire III
(To:NP_10570407)
HelesicPetr
22-Sapphire II
(To:avillanueva)

😄

for others simple code is:

 

QuerySpec query = new QuerySpec();
int indexA = query.appendClassList(wt.epm.EPMDocument.class, true);
QueryResult qr = PersistenceHelper.manager.find(query);

 

 

PS: you can use what ever object you want.WTPart, WTDocument, all existing types in the system. 

 

PetrH

 

Announcements

Top Tags