Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
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.
Solved! Go to Solution.
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();
}
}
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();
}
}