How to create a new file version programmatically?
Hello,
Following this article I can create a file in a workspace/component - https://jazz.net/wiki/bin/view/Main/RTCSDK20_SourceControl
However, if the file already exists I get an error. What I want to do, in this case, is create a new version of the file. Appreciate any pointers or sample code on how to achieve that!
One answer
I am not sure I understand your first question about it not creating a new version of the file. Please elaborate further.
As to your second question, I am not sure your deliver code is working.
workspace.deliver(workspace... is weird. You are not delivering to another workspace or stream. You are just delivering "to yourself".
As to your second question, I am not sure your deliver code is working.
workspace.deliver(workspace... is weird. You are not delivering to another workspace or stream. You are just delivering "to yourself".
Comments
Remy Suen
Aug 20 '13, 10:16 a.m.Simon Hoare
Aug 20 '13, 4:15 p.m.1 vote