0

how to get Multiple lines of text values from a document library in sharepoint 2013 using client object model

I tried this code to get value :

        docEnumerator = collVideoLibrary.getEnumerator();
        //Looping through the collection
        while (docEnumerator.moveNext()) {
            docItem = docEnumerator.get_current();
            var description = docItem.get_item('Description');

but I didn't get the Description form document library

please do needful.

1 Answer 1

1

Use Description0 as column's internal name because SharePoint Document Library already contains a column named as Description and if you try to create another custom column whose DisplayName is Description then its InternalName would be Description0

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.