<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Checkout  the EPMducument/ .SLDASM  from the workspace. in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Checkout-the-EPMducument-SLDASM-from-the-workspace/m-p/966011#M8498</link>
    <description>&lt;P&gt;Use case: I have a Part Structure. I want to add all the Parts and associated EPMDocuments available in the structure, Add the structure into the workspace and then do check out all the EPMDocuments from the workspace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i did :&lt;/P&gt;&lt;P&gt;private void checkoutDocument(EPMDocument document) throws WTException, WTPropertyVetoException {&lt;BR /&gt;try {&lt;BR /&gt;System.out.println("Checking out document: " + document.getNumber());&lt;BR /&gt;if (!WorkInProgressHelper.isCheckedOut(document)) {&lt;BR /&gt;// Get the current user's checkout folder&lt;BR /&gt;Folder checkoutFolder = WorkInProgressHelper.service.getCheckoutFolder();&lt;BR /&gt;&lt;BR /&gt;// CheckoutLink chilink = WorkInProgressHelper.service.checkout(document, checkoutFolder, "Check out comment");&lt;BR /&gt;CheckoutLink chilink = WorkInProgressHelper.service.checkout(document, checkoutFolder, WorkspaceName)&lt;BR /&gt;wt.epm.EPMDocument wrk = (wt.epm.EPMDocument)chilink.getWorkingCopy();&lt;BR /&gt;System.out.println("Document checked out successfully: " + wrk.getIdentity());&lt;BR /&gt;} else {&lt;BR /&gt;System.out.println("Document is already checked out.");&lt;BR /&gt;}&lt;BR /&gt;} catch (WTException e) {&lt;BR /&gt;e.printStackTrace();&lt;BR /&gt;throw new WTException("Error checking out document: " + e.getMessage());&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
    <pubDate>Sun, 11 Aug 2024 03:35:45 GMT</pubDate>
    <dc:creator>RaikarRaghu</dc:creator>
    <dc:date>2024-08-11T03:35:45Z</dc:date>
    <item>
      <title>Checkout  the EPMducument/ .SLDASM  from the workspace.</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Checkout-the-EPMducument-SLDASM-from-the-workspace/m-p/966011#M8498</link>
      <description>&lt;P&gt;Use case: I have a Part Structure. I want to add all the Parts and associated EPMDocuments available in the structure, Add the structure into the workspace and then do check out all the EPMDocuments from the workspace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i did :&lt;/P&gt;&lt;P&gt;private void checkoutDocument(EPMDocument document) throws WTException, WTPropertyVetoException {&lt;BR /&gt;try {&lt;BR /&gt;System.out.println("Checking out document: " + document.getNumber());&lt;BR /&gt;if (!WorkInProgressHelper.isCheckedOut(document)) {&lt;BR /&gt;// Get the current user's checkout folder&lt;BR /&gt;Folder checkoutFolder = WorkInProgressHelper.service.getCheckoutFolder();&lt;BR /&gt;&lt;BR /&gt;// CheckoutLink chilink = WorkInProgressHelper.service.checkout(document, checkoutFolder, "Check out comment");&lt;BR /&gt;CheckoutLink chilink = WorkInProgressHelper.service.checkout(document, checkoutFolder, WorkspaceName)&lt;BR /&gt;wt.epm.EPMDocument wrk = (wt.epm.EPMDocument)chilink.getWorkingCopy();&lt;BR /&gt;System.out.println("Document checked out successfully: " + wrk.getIdentity());&lt;BR /&gt;} else {&lt;BR /&gt;System.out.println("Document is already checked out.");&lt;BR /&gt;}&lt;BR /&gt;} catch (WTException e) {&lt;BR /&gt;e.printStackTrace();&lt;BR /&gt;throw new WTException("Error checking out document: " + e.getMessage());&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Sun, 11 Aug 2024 03:35:45 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Checkout-the-EPMducument-SLDASM-from-the-workspace/m-p/966011#M8498</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2024-08-11T03:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Checkout  the EPMducument/ .SLDASM  from the workspace.</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Checkout-the-EPMducument-SLDASM-from-the-workspace/m-p/966013#M8499</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaikarRaghu_0-1723347422878.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/109012i4A58E00692CBDD41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaikarRaghu_0-1723347422878.png" alt="RaikarRaghu_0-1723347422878.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added all things into workspace, i did checkout also, but in the workspace it was showing. checkout by you added into some other workspace.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Aug 2024 03:42:07 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Checkout-the-EPMducument-SLDASM-from-the-workspace/m-p/966013#M8499</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2024-08-11T03:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Checkout  the EPMducument/ .SLDASM  from the workspace.</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Checkout-the-EPMducument-SLDASM-from-the-workspace/m-p/966026#M8500</link>
      <description>&lt;P&gt;Can you share your log messages? I can assume you used the same workspace name for adding and checkout? Can you also hover over that workspace status icon you highlighted? Also, check the history on one of those objects. It should show you where the working copy is checked out to.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Aug 2024 16:17:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Checkout-the-EPMducument-SLDASM-from-the-workspace/m-p/966026#M8500</guid>
      <dc:creator>avillanueva</dc:creator>
      <dc:date>2024-08-11T16:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Checkout  the EPMducument/ .SLDASM  from the workspace.</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Checkout-the-EPMducument-SLDASM-from-the-workspace/m-p/966042#M8503</link>
      <description>&lt;P&gt;I attached the MSlogs file,&lt;/P&gt;&lt;P&gt;i am doing the checkout after the EPPM Document get added into the workspace, i highlighted the workspace number, in the MSLog also it sysout was showing the same workspace id:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaikarRaghu_3-1723437933558.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/109020iC54CFCB1B8E9BD93/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaikarRaghu_3-1723437933558.png" alt="RaikarRaghu_3-1723437933558.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 04:45:49 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Checkout-the-EPMducument-SLDASM-from-the-workspace/m-p/966042#M8503</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2024-08-12T04:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Checkout  the EPMducument/ .SLDASM  from the workspace.</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Checkout-the-EPMducument-SLDASM-from-the-workspace/m-p/966043#M8504</link>
      <description>&lt;P&gt;I think it was doing the checkout from the windchill side, we need to do it from the workspace side, do&amp;nbsp; you have any sample code for doing checkout the object from the&amp;nbsp; workspace.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 05:05:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Checkout-the-EPMducument-SLDASM-from-the-workspace/m-p/966043#M8504</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2024-08-12T05:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Checkout  the EPMducument/ .SLDASM  from the workspace.</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Checkout-the-EPMducument-SLDASM-from-the-workspace/m-p/966237#M8514</link>
      <description>&lt;P&gt;I got the answer,&amp;nbsp; insted of using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CheckoutLink chilink = WorkInProgressHelper.service.checkout(document, checkoutFolder, WorkspaceName);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I&amp;nbsp; used :&amp;nbsp; CheckoutLink chlink = WorkInProgressHelper.service.checkout(document, workpace.getfolder(), "comment");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EPMDocument wrk = (wt.epm.EPMDocument)&amp;nbsp;chlink.getWorkingCopy();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 03:06:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Checkout-the-EPMducument-SLDASM-from-the-workspace/m-p/966237#M8514</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2024-08-13T03:06:08Z</dc:date>
    </item>
  </channel>
</rss>

