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

How to iterate a part using Api?

ptc-6328570
1-Newbie

How to iterate a part using Api?

How to iterate a part using Api?

1 ACCEPTED SOLUTION

Accepted Solutions

Checkout

localWTPart1 = (WTPart)WorkInProgressHelper.service.checkout(localWTPart1, WorkInProgressHelper.service.getCheckoutFolder(), null).getWorkingCopy();

Checkin

localWTPart1 = (WTPart)WorkInProgressHelper.service.checkin(localWTPart1, "Checkin comment");

View solution in original post

3 REPLIES 3
KD
4-Participant
4-Participant
(To:ptc-6328570)

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");

LoriSood
22-Sapphire II
(To:ptc-6328570)

Vineeth,

Did Kaushik's and Bjorn's suggestions answer your question? If so, can you please mark the thread as answered?

Thanks,
Lori

Top Tags