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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

API to get Part Configuration from part ?

shindemayur
13-Aquamarine

API to get Part Configuration from part ?

Hello,

 

I have created two  part configuration on a part. In Part information page on "Part Configuration" tab  I can see all part configuration related to that part.

What is the API to get All Part Configuration  from part.

ACCEPTED SOLUTION

Accepted Solutions

You can use the following snippet to achieve your requirement, 

 

QueryResult qr = ConfigurationHelper.service.getAllConfigurations(WTPart.getMaster());
if (qr != null) {
while (qr.hasMoreElements()) {
WTProductConfiguration config = (WTProductConfiguration) qr.nextElement();
}
}

 

View solution in original post

1 REPLY 1

You can use the following snippet to achieve your requirement, 

 

QueryResult qr = ConfigurationHelper.service.getAllConfigurations(WTPart.getMaster());
if (qr != null) {
while (qr.hasMoreElements()) {
WTProductConfiguration config = (WTProductConfiguration) qr.nextElement();
}
}

 

Announcements
Top Tags