<?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 Re: Programatically how to retrive the objects present in the workspace in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994426#M9348</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Any solution you have to retrieve the available objects in the workspace. you know any API please share it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raikar&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2025 12:10:37 GMT</pubDate>
    <dc:creator>RaikarRaghu</dc:creator>
    <dc:date>2025-01-21T12:10:37Z</dc:date>
    <item>
      <title>Programatically how to retrive the objects present in the workspace</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/992084#M9247</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am trying to retrieve the WTParts / EPMdocument from the workspace, it was throwing error it was saying that the query is wromng.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;help me to retrieve the objects from the workspace.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this is my code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;This is my workspace id iam passing : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;private&lt;/SPAN&gt; &lt;SPAN&gt;static&lt;/SPAN&gt;&lt;SPAN&gt; String &lt;/SPAN&gt;&lt;SPAN&gt;WorkspaceNumber&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"OR:wt.epm.workspaces.EPMWorkspace:1150900;&lt;BR /&gt;&lt;BR /&gt;From this method iam getting the workspace:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;private&lt;/SPAN&gt; &lt;SPAN&gt;static&lt;/SPAN&gt;&lt;SPAN&gt; EPMWorkspace getWorkspaceById(String WorkspaceNumber &lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;try&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;wt.fc.ReferenceFactory &lt;/SPAN&gt;&lt;SPAN&gt;referenceFactory&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt;&lt;SPAN&gt; wt.fc.ReferenceFactory();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;wt.fc.WTReference &lt;/SPAN&gt;&lt;SPAN&gt;wtReference&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;referenceFactory&lt;/SPAN&gt;&lt;SPAN&gt;.getReference(&lt;/SPAN&gt;&lt;SPAN&gt;workspaceId&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt; (EPMWorkspace) &lt;/SPAN&gt;&lt;SPAN&gt;wtReference&lt;/SPAN&gt;&lt;SPAN&gt;.getObject(); &lt;/SPAN&gt;&lt;SPAN&gt;// Returns the workspace object&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;} &lt;/SPAN&gt;&lt;SPAN&gt;catch&lt;/SPAN&gt;&lt;SPAN&gt; (Exception &lt;/SPAN&gt;&lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;System.&lt;/SPAN&gt;&lt;SPAN&gt;err&lt;/SPAN&gt;&lt;SPAN&gt;.println(&lt;/SPAN&gt;&lt;SPAN&gt;"Error fetching workspace by ID: "&lt;/SPAN&gt;&lt;SPAN&gt; + &lt;/SPAN&gt;&lt;SPAN&gt;workspaceId&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;.printStackTrace();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;return&lt;/SPAN&gt; &lt;SPAN&gt;null&lt;/SPAN&gt;&lt;SPAN&gt;; &lt;/SPAN&gt;&lt;SPAN&gt;// Return null if workspace cannot be fetched&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;BR /&gt;&lt;BR /&gt;This is the method i used to retrive objects present in the workspace&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;private&lt;/SPAN&gt; &lt;SPAN&gt;static&lt;/SPAN&gt;&lt;SPAN&gt; List&amp;lt;EPMDocument&amp;gt; getEPMDocumentsInWorkspace(EPMWorkspace &lt;/SPAN&gt;&lt;SPAN&gt;workspace&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;throws&lt;/SPAN&gt;&lt;SPAN&gt; WTException {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;List&amp;lt;EPMDocument&amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;epmDocuments&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt;&lt;SPAN&gt; ArrayList&amp;lt;&amp;gt;();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;QuerySpec &lt;/SPAN&gt;&lt;SPAN&gt;query&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt;&lt;SPAN&gt; QuerySpec(EPMDocument.&lt;/SPAN&gt;&lt;SPAN&gt;class&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;query&lt;/SPAN&gt;&lt;SPAN&gt;.appendWhere(&lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt;&lt;SPAN&gt; SearchCondition(EPMDocument.&lt;/SPAN&gt;&lt;SPAN&gt;class&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"thePersistInfo.theObjectIdentifier.id"&lt;/SPAN&gt;&lt;SPAN&gt;, SearchCondition.&lt;/SPAN&gt;&lt;SPAN&gt;EQUAL&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;workspace&lt;/SPAN&gt;&lt;SPAN&gt;.getPersistInfo().getObjectIdentifier().getId()), &lt;/SPAN&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;QueryResult &lt;/SPAN&gt;&lt;SPAN&gt;results&lt;/SPAN&gt;&lt;SPAN&gt; = PersistenceHelper.&lt;/SPAN&gt;&lt;SPAN&gt;manager&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;find&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;query&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;System.&lt;/SPAN&gt;&lt;SPAN&gt;out&lt;/SPAN&gt;&lt;SPAN&gt;.println(&lt;/SPAN&gt;&lt;SPAN&gt;"results: "&lt;/SPAN&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;&lt;SPAN&gt;results&lt;/SPAN&gt;&lt;SPAN&gt;.size());&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;while&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;results&lt;/SPAN&gt;&lt;SPAN&gt;.hasMoreElements()) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Persistable &lt;/SPAN&gt;&lt;SPAN&gt;per&lt;/SPAN&gt;&lt;SPAN&gt; = (Persistable) &lt;/SPAN&gt;&lt;SPAN&gt;results&lt;/SPAN&gt;&lt;SPAN&gt;.nextElement();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;System.&lt;/SPAN&gt;&lt;SPAN&gt;out&lt;/SPAN&gt;&lt;SPAN&gt;.println(&lt;/SPAN&gt;&lt;SPAN&gt;"per "&lt;/SPAN&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;&lt;SPAN&gt;per&lt;/SPAN&gt;&lt;SPAN&gt;.toString());&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;per&lt;/SPAN&gt; &lt;SPAN&gt;instanceof&lt;/SPAN&gt;&lt;SPAN&gt; EPMDocument) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;epmDocuments&lt;/SPAN&gt;&lt;SPAN&gt;.add((EPMDocument) &lt;/SPAN&gt;&lt;SPAN&gt;per&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;return&lt;/SPAN&gt; &lt;SPAN&gt;epmDocuments&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Jan 2025 07:48:29 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/992084#M9247</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2025-01-14T07:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically how to retrive the objects present in the workspace</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/992290#M9250</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="d_graham_0-1736286291482.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116610i138017238FD36B14/image-size/medium?v=v2&amp;amp;px=400" role="button" title="d_graham_0-1736286291482.png" alt="d_graham_0-1736286291482.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="d_graham_2-1736286373596.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116612i14D42A8566EC6640/image-size/medium?v=v2&amp;amp;px=400" role="button" title="d_graham_2-1736286373596.png" alt="d_graham_2-1736286373596.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>Tue, 07 Jan 2025 21:47:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/992290#M9250</guid>
      <dc:creator>d_graham</dc:creator>
      <dc:date>2025-01-07T21:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically how to retrive the objects present in the workspace</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/992314#M9251</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my scenario, I have multiple EPMDocuments Assembly&amp;nbsp; within a workspace that are checked out (e.g., 123.SLDASM). Iwant to retrieve all these EPMDocuments that are checked out, and then check them in programmatically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raikar&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 04:40:59 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/992314#M9251</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2025-01-08T04:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically how to retrive the objects present in the workspace</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/993595#M9298</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/824005"&gt;@RaikarRaghu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It would be nice to see full stack error&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 11:07:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/993595#M9298</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2025-01-15T11:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically how to retrive the objects present in the workspace</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994426#M9348</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Any solution you have to retrieve the available objects in the workspace. you know any API please share it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raikar&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 12:10:37 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994426#M9348</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2025-01-21T12:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically how to retrive the objects present in the workspace</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994433#M9349</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/824005"&gt;@RaikarRaghu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why are you ignoring Petr's question? We're trying to help you, which is not always easy. Print a stack trace or describe exactly what's not working. The best approach is to always include the Windchill version.&lt;/P&gt;
&lt;P&gt;I’m guessing your code is working, and you’re able to retrieve the assemblies, but you’re unable to check them back in. Is that the case?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 13:08:31 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994433#M9349</guid>
      <dc:creator>BjoernRueegg</dc:creator>
      <dc:date>2025-01-21T13:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically how to retrive the objects present in the workspace</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994442#M9350</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/824005"&gt;@RaikarRaghu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/224791"&gt;@BjoernRueegg&lt;/a&gt;&amp;nbsp; is right. Why do you not share any errors?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can say, that the query definition is wrong because you search for EPMDocument but you provide the Workspace ID so it can not work at all..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;btw Windchill has a helper for Workspace, and it can retrieve the objects from workspace&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS&amp;gt; EPMWorkspaceHelper&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 13:54:43 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994442#M9350</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2025-01-21T13:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically how to retrive the objects present in the workspace</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994570#M9356</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Yes, I am unable to check in the CAD assemblies. i found the API to retrieve the available EPMDocuments from the workspace(CS244949).but I not able to check-in from the workspace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raikar&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 04:44:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994570#M9356</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2025-01-22T04:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically how to retrive the objects present in the workspace</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994571#M9357</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Yes, Thank you.&lt;/P&gt;&lt;P&gt;I found the article regarding to this, I think it will work on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WTSet objsInWS = EPMWorkspaceHelper.manager.getObjectsInWorkspace(workspace, EPMDocument.getClass());&lt;BR /&gt;Iterator iterator = objsInWS.iterator();&lt;BR /&gt;while (iterator.hasNext()) {&lt;BR /&gt;EPMDocument keyobj = (EPMDocument)((ObjectReference)iterator.next()).getObject();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Raikar&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 04:56:06 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994571#M9357</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2025-01-22T04:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically how to retrive the objects present in the workspace</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994580#M9358</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/824005"&gt;@RaikarRaghu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ok, and what is the error in the windchill log during the check-in process ?&lt;/P&gt;
&lt;P&gt;PetrH&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 06:28:48 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994580#M9358</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2025-01-22T06:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically how to retrive the objects present in the workspace</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994621#M9360</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;It was showing the assembly is already check-in.&lt;/P&gt;&lt;P&gt;error log.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaikarRaghu_0-1737537607017.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/117165i63447ECB45644220/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaikarRaghu_0-1737537607017.png" alt="RaikarRaghu_0-1737537607017.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;available object in workspace&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaikarRaghu_1-1737537689231.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/117166i78A7E720F4A23B83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaikarRaghu_1-1737537689231.png" alt="RaikarRaghu_1-1737537689231.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the code I am using to do checkin:&lt;/P&gt;&lt;P&gt;workingepm = (EPMDocument) WorkInProgressHelper.service.workingCopyOf(epmDocument);&lt;BR /&gt;checkincollection.put(workingepm,null);&lt;BR /&gt;&lt;BR /&gt;// Now we proceed with the check-in operation using the provided API&lt;BR /&gt;if (!checkincollection.isEmpty()) {&lt;BR /&gt;workspace = getWorkspaceById(WorkspaceNumber);&lt;BR /&gt;if (workspace != null) {&lt;BR /&gt;&lt;BR /&gt;// Call the checkin method from EPMWorkspaceHelper&lt;BR /&gt;EPMWorkspaceHelper.manager.checkin(workspace, checkincollection, null, null, null);&lt;BR /&gt;System.out.println("Documents successfully checked in.");&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 09:24:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994621#M9360</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2025-01-22T09:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically how to retrive the objects present in the workspace</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994623#M9361</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/824005"&gt;@RaikarRaghu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error log should contains also all the stack-trace info with java row numbers. Thanks that I can find the problematic place and look what should be there.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;btw if the system tell you that the object is already checked-in that means that you have wrong collection or you work with commonspace version instead of the working modified object in the workspace.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 10:55:58 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994623#M9361</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2025-01-22T10:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically how to retrive the objects present in the workspace</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994639#M9362</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Yes, actually it was taking the EPMDocument from the common space which is original copy. now I figured out.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raghavendra&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 10:52:31 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Programatically-how-to-retrive-the-objects-present-in-the/m-p/994639#M9362</guid>
      <dc:creator>RaikarRaghu</dc:creator>
      <dc:date>2025-01-22T10:52:31Z</dc:date>
    </item>
  </channel>
</rss>

