Inserting a new content version via the API
|Knowledge Article Number||000171163|
|Description||How can we insert a new version for an existing content via the API?|
|Resolution||In order to insert a new version of an existing content.You need to specify four fields during an Insert call on Content (ContentVersion):
3) PathOnClient (path of file on client machine)
4) VersionData (path of file on client machine)
Also keep in mind that "firstpublishlocationid " field can only be set for the first version of a document and need not be set when a next version of the content has to be published.
For additional information, please see: