cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Version History Null

anujs86
Champ in-the-making
Champ in-the-making
Hi,

I want to show the version Id of the document I am uploading from javascript API.
I am getting scriptNode.getVersionHistory() as null when I upload document first time from API.
The thing is that, I am getting the same when i call a different api for getting versionHistory or when I upload the same document again for versioning.

Do anyone know why webscript is behaving like this?
1 REPLY 1

anujs86
Champ in-the-making
Champ in-the-making
Any one with any idea on this behavior?