AnsweredAssumed Answered

Get specific version using javascript

Question asked by sleeper on Sep 1, 2013
Latest reply on Sep 1, 2013 by sleeper
I am trying to download a specific version using javascript.
I use the get

And I have to assume this is right.  When I give it a valid version number  it returns an object, if I give it an invalid version number I get an error.
However, I cannot figure out how to get the actual older version of the file.
Whenever I try to get the ID or url I always get the same value as the current node.
When I call versionLabel or nodeRef I get errors about undefined values.

Does anybody know how to get the older version of a file using javascript?

Thank you.