<?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: Upload Primary Content while Creating a WTDocument through REST API in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Upload-Primary-Content-while-Creating-a-WTDocument-through-REST/m-p/1025684#M10225</link>
    <description>&lt;P&gt;I am no expert. We have a Customization area for these questions. Seems like Knowledge base has lots of articles on this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article/CS18364?source=search" target="_blank"&gt;https://www.ptc.com/en/support/article/CS18364?source=search&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;From what I know, its a multi-step process. Create the document, upload the file and linked it to the document.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jul 2025 15:03:08 GMT</pubDate>
    <dc:creator>avillanueva</dc:creator>
    <dc:date>2025-07-21T15:03:08Z</dc:date>
    <item>
      <title>Upload Primary Content while Creating a WTDocument through REST API</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Upload-Primary-Content-while-Creating-a-WTDocument-through-REST/m-p/1025625#M10224</link>
      <description>&lt;P&gt;Version: Windchill 12.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use Case: Upload Primary Content while creating WTDocument through REST endpoint&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Description: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm able to create a WTDocument by using the POST REST Endpoint, but now while I create the document, I also want to upload primary content through the same endpoint, is there any way to upload primary content while simultaneously creating the Document?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 04:18:30 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Upload-Primary-Content-while-Creating-a-WTDocument-through-REST/m-p/1025625#M10224</guid>
      <dc:creator>OP_11714882</dc:creator>
      <dc:date>2025-07-22T04:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Upload Primary Content while Creating a WTDocument through REST API</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Upload-Primary-Content-while-Creating-a-WTDocument-through-REST/m-p/1025684#M10225</link>
      <description>&lt;P&gt;I am no expert. We have a Customization area for these questions. Seems like Knowledge base has lots of articles on this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article/CS18364?source=search" target="_blank"&gt;https://www.ptc.com/en/support/article/CS18364?source=search&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;From what I know, its a multi-step process. Create the document, upload the file and linked it to the document.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 15:03:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Upload-Primary-Content-while-Creating-a-WTDocument-through-REST/m-p/1025684#M10225</guid>
      <dc:creator>avillanueva</dc:creator>
      <dc:date>2025-07-21T15:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Upload Primary Content while Creating a WTDocument through REST API</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Upload-Primary-Content-while-Creating-a-WTDocument-through-REST/m-p/1025777#M10226</link>
      <description>&lt;P&gt;I never tried it, but with a batch process you should be able to create and upload the WTDocument in a single rest call. Unfortunately the olingo / odata batch process syntax is not that easy like creating a normal rest call and post a json.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.ptc.com/help/windchill/r13.1.1.0/en/index.html#page/Windchill_Help_Center/WCRESTFramework/WCCG_RESTAPIsBatchSupport_examples.html" target="_blank"&gt;https://support.ptc.com/help/windchill/r13.1.1.0/en/index.html#page/Windchill_Help_Center/WCRESTFramework/WCCG_RESTAPIsBatchSupport_examples.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 06:39:37 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Upload-Primary-Content-while-Creating-a-WTDocument-through-REST/m-p/1025777#M10226</guid>
      <dc:creator>BjoernRueegg</dc:creator>
      <dc:date>2025-07-22T06:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Upload Primary Content while Creating a WTDocument through REST API</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Upload-Primary-Content-while-Creating-a-WTDocument-through-REST/m-p/1026041#M10235</link>
      <description>&lt;P&gt;I tried creating a batch process but I'm unable to use the ReplicaUrl which i get from UploadStage1Action as a POST url in the next step&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 09:35:23 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Upload-Primary-Content-while-Creating-a-WTDocument-through-REST/m-p/1026041#M10235</guid>
      <dc:creator>OP_11714882</dc:creator>
      <dc:date>2025-07-23T09:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Upload Primary Content while Creating a WTDocument through REST API</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Upload-Primary-Content-while-Creating-a-WTDocument-through-REST/m-p/1029019#M10315</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/859342"&gt;@OP_11714882&lt;/a&gt;&amp;nbsp;But with single steps it works? The batch process is a pain, I know that.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 13:54:47 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Upload-Primary-Content-while-Creating-a-WTDocument-through-REST/m-p/1029019#M10315</guid>
      <dc:creator>BjoernRueegg</dc:creator>
      <dc:date>2025-08-12T13:54:47Z</dc:date>
    </item>
  </channel>
</rss>

