I tried using the SOAP API to create a data extension and set the CategoryID to the Salesforce Data Extensions folder, but I get this error:

"Unable to save data extension into a non-data extension category. The category provided was of type salesforcedataextension."

I opened a case with support who also said there is no SalesforceDataExtension object, allowing me to create one.

So I also tried to first create a data extension in the regular data extensions folder, then use InvokeUpdate to change the CategoryID, but that gave the same error. Has anyone found a way to do this? It seems the SOAP api is mostly concerned with adding columns/rows, not changing DE properties. Hoping there is something new that someone has discovered.


  • Hi @Garek , You can do it in a single call on create request itself by using category ID. Hope this helps - salesforce.stackexchange.com/questions/306090/…
    – Naveen VM
    Commented May 29, 2020 at 18:17
  • @NaveenVM your post is not specific to the Salesforce Data Extensions folder. Commented May 29, 2020 at 19:00
  • Ya I just saw that. I guess its still not yet possible to my knowledge. You can add the data extension in a normal folder via SOAP API and move the data extension to salesforce data extension folder.
    – Naveen VM
    Commented May 30, 2020 at 4:58
  • Thanks for the suggestion @NaveenVM... I was really hoping for a programmatic way to do it Commented Jun 2, 2020 at 14:37


You must log in to answer this question.

Browse other questions tagged .