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

Massive Undo Checkout

Highlighted
Regular Member

Massive Undo Checkout

10.1 M040

Hi Everyone,
Is there a command line tool that can be used to undo checkout on all EPM Documents in preparation for a migration or upgrade?

Patrick Williams | Engineering Systems | c: 616.947.2110
[cid:image001.jpg@01CFC90A.E3C92560]

5 REPLIES 5

Massive Undo Checkout

Patrick,

I remember using "wt.epm.upgrade.DeleteAllFromWS" to check if there are any
item checked out. It also had an option to execute mass "undo check out".
It was available on Windchill 9.X. I believe, the syntax was something like
the following:

- Generate a list of checked out/new objects
windchill wt.epm.upgrade.DeleteAllFromWS -check all

- Execute mass "undo check out"
windchill wt.epm.upgrade.DeleteAllFromWS -clean all

The utility used to write information to following location:
<wt_home>/logs/UndoCheckedOut.log

Please check if this utility is still available.

*Note:*

- "premigrate-80.jar" used to contain this utility


--
Rochan Hegde
Productspace Solutions Inc.
Cell: 630-495-2999 x 8121


On Fri, Sep 5, 2014 at 12:11 PM, Williams, Patrick <
-> wrote:

> 10.1 M040
>
>
>
> Hi Everyone,
>
> Is there a command line tool that can be used to undo checkout on all EPM
> Documents in preparation for a migration or upgrade?
>
>
>
> *Patrick Williams* | Engineering Systems | c: 616.947.2110
>
> [image: sc_inc_black_sig_1_alt]
>
>
>

RE: Massive Undo Checkout

Hi Patrick,


Maybe you have another reason to force a massive'undo checkout'. An upgrade as such doesn't ask for it (as far as I know).


Regards,Hugo.


<< ProE WF5 - PDMLink 10.1 M040>>

Massive Undo Checkout

Yes I do have another reason. I am modifying all containers in the system with a few role changes. However I cannot remove principals from a role if they have work checked out.

Thanks,
Patrick Williams

On Sep 7, 2014, at 3:27 PM, "Hugo Hermans" <-<<a style="COLOR:" blue;=" text-decoration:=" underline&quot;=" target="_BLANK" href="mailto:-">>">mailto:->> wrote:


Hi Patrick,

Maybe you have another reason to force a massive 'undo checkout'.  An upgrade as such doesn't ask for it (as far as I know).

Regards, Hugo.


<< ProE WF5 - PDMLink 10.1 M040>>


----------

Massive Undo Checkout

You want to lose the data I presume? The checked out copies?



WIP copies are stored alongside previous iterations. This may be faster done with SQL then with code, that would be the route I’d go. You then have to also remove it from the user’s workspaces.



This is easier to do if you know the users you want to remove from the container team roles.



I’d go with the WTUser, Cabinet and EPMWorkspace, then also the ControlBranch and WTPart, EPMDocument, WTDocument (whichever) tables. FolderMemberLink shouldn’t have any in them I believe.








RE: Massive Undo Checkout

Hi Patrick,



This must be possible from the UI itself when logged in as the Site Admin or Org admin.


I dont remember exactly, but some where in file server admin or similar area.


But, you will lose the checked out copy from the server.



rgds


Hari

Announcements
LiveWorx Call For Papers Happening Now!