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?