Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
How to iterate a part using Api?
Solved! Go to Solution.
Checkout
localWTPart1 = (WTPart)WorkInProgressHelper.service.checkout(localWTPart1, WorkInProgressHelper.service.getCheckoutFolder(), null).getWorkingCopy();
Checkin
localWTPart1 = (WTPart)WorkInProgressHelper.service.checkin(localWTPart1, "Checkin comment");
Using WorkInProgreeHelper API you can check in check out WTPart which leads to Iteration
Checkout
localWTPart1 = (WTPart)WorkInProgressHelper.service.checkout(localWTPart1, WorkInProgressHelper.service.getCheckoutFolder(), null).getWorkingCopy();
Checkin
localWTPart1 = (WTPart)WorkInProgressHelper.service.checkin(localWTPart1, "Checkin comment");
Vineeth,
Did Kaushik's and Bjorn's suggestions answer your question? If so, can you please mark the thread as answered?
Thanks,
Lori