<?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 Save project to portal programmatically using API? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/save-project-to-portal-programmatically-using-api/m-p/1673528#M13312</link>
    <description>&lt;P&gt;I would like to save a project to portal using the API. At the moment this is not possible using the 3.5 API:&amp;nbsp;&lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Content-and-Items#create-portal-project" target="_blank"&gt;https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Content-and-Items#create-portal-project&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We've done it by just uploading the file, but it isn't working when trying to open the downloaded aprx-file. I guess there is more to the story.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;using var client = new HttpClient();
var form = new MultipartFormDataContent
        {
            { new StringContent("json"), "f" },
            { new StringContent(auth.Token), "token" },
            { new StringContent("Pro Project"), "type" },
            { new StringContent(Path.GetFileNameWithoutExtension(aprxPath)), "title" },
            { new StringContent("true"), "overwrite" },
            { new StringContent("Uploaded APRX project"), "description" }
        };
// Attach APRX file
var fileContent = new StreamContent(File.OpenRead(tempFilePath));
fileContent.Headers.ContentType = MediaTypeHeaderValue.Parse("application/octet-stream");
form.Add(fileContent, "file", filename);
// Send upload request
var response = await client.PostAsync(uploadUrl, form);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a roadmap for when this feature will be available for us, 3.6 or later?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Dec 2025 08:35:46 GMT</pubDate>
    <dc:creator>PärÅman</dc:creator>
    <dc:date>2025-12-17T08:35:46Z</dc:date>
    <item>
      <title>Save project to portal programmatically using API?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/save-project-to-portal-programmatically-using-api/m-p/1673528#M13312</link>
      <description>&lt;P&gt;I would like to save a project to portal using the API. At the moment this is not possible using the 3.5 API:&amp;nbsp;&lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Content-and-Items#create-portal-project" target="_blank"&gt;https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Content-and-Items#create-portal-project&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We've done it by just uploading the file, but it isn't working when trying to open the downloaded aprx-file. I guess there is more to the story.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;using var client = new HttpClient();
var form = new MultipartFormDataContent
        {
            { new StringContent("json"), "f" },
            { new StringContent(auth.Token), "token" },
            { new StringContent("Pro Project"), "type" },
            { new StringContent(Path.GetFileNameWithoutExtension(aprxPath)), "title" },
            { new StringContent("true"), "overwrite" },
            { new StringContent("Uploaded APRX project"), "description" }
        };
// Attach APRX file
var fileContent = new StreamContent(File.OpenRead(tempFilePath));
fileContent.Headers.ContentType = MediaTypeHeaderValue.Parse("application/octet-stream");
form.Add(fileContent, "file", filename);
// Send upload request
var response = await client.PostAsync(uploadUrl, form);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a roadmap for when this feature will be available for us, 3.6 or later?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 08:35:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/save-project-to-portal-programmatically-using-api/m-p/1673528#M13312</guid>
      <dc:creator>PärÅman</dc:creator>
      <dc:date>2025-12-17T08:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Save project to portal programmatically using API?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/save-project-to-portal-programmatically-using-api/m-p/1673772#M13322</link>
      <description>&lt;P&gt;It is planned for 3.7&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 21:16:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/save-project-to-portal-programmatically-using-api/m-p/1673772#M13322</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2025-12-17T21:16:28Z</dc:date>
    </item>
  </channel>
</rss>

