Article - CS104731

API to override conflict on EPMWorkspaceHelper.manager.checkout() if an older version of the object already exists in the workspace

Modified: 30-May-2017   


Applies To

  • Windchill PDMLink 9.1 to 11.2

Description

  • An EPMDocument has been created in a workspace (i.e. Workspace1) then checked-in
  • The EPMDocument is checked-out to a second workspace (i.e. Workspace2) then checked-in
  • EPMWorkspaceHelper.manager.checkout() is used to checkout the latest version of the EPMDocument to the first workspace
  • An overridable conflict error is thrown:
(wt.conflict.conflictResource/1) wt.conflict.ConflictException:
Messages follow.
Version x.x of this object already exists in the workspace xxxx. Overriding this conflict would overwrite the existing version with different version x.x.

 
This is a printer-friendly version of Article 104731 and may be out of date. For the latest version click CS104731