none
Capture Document Set Version via CSOM

    Question

  • Greetings! 

    Can anyone please tell me if it is possible to capture Document Set Version programmatically perhaps via CSOM or other means?  

    I attempted the following method (both JSOM and CSOM) and it did not work... 

    https://yadavnitinkumar.blogspot.com/2014/12/adding-new-version-in-version.html 

    I would really appreciate any advice or suggestion you can provide. 

    Thank you in advance!

    Tuesday, August 2, 2016 4:02 PM

All replies

  • bump
    Thursday, August 4, 2016 3:53 PM
  • Get the version of DocumentSet using REST

    https://yoursite/_api/web/lists/GetByTitle('Documents')/items(id)
    
    Where id = document set ID. Use the OData__UIVersionString - from the response to get the version of the document set.


    ---
    Rajesh
    rjesh.com| @rjesh
    You don't need to buy me a beer, if helpful just smile, vote, and mark it as answer.

    Saturday, August 6, 2016 4:26 PM
  • Thanks Rajesh but i'm not looking to get the metadata or values of existing document set versions. 

    What I'm looking for is the ability to actually create a new document set version. That ability is exposed via the Ribbon menu, however, it doesn't appear like there's a way to do that programmatically. Is there? 

    Wednesday, August 10, 2016 4:18 PM