This project has moved. For the latest updates, please go here.
1

Closed

SPGetListItemsJson Doesn't Handle Attachments Correctly

description

The Attachments column will either return a Boolean (0/1) or a list of the attachments if <IncludeAttachmentUrls>TRUE</IncludeAttachmentUrls> is specified. In 2014.01, the column type Attachments is treated as a Lookup column.

SPGetListItemsJson should return the Boolean by default, and an array of URLs if present.
Closed Dec 16, 2014 at 5:34 PM by sympmarc
Fixed/deployed in 2014.02

comments

sympmarc wrote Aug 22, 2014 at 1:10 AM

Fixed in 2014.02ALPHA1

eLGi wrote Dec 3, 2015 at 8:43 AM

Hey, it returned everything correctly for me on 2014.01, and now in 02 it returns only boolean. Where can I specify this <IncludeAttachmentUrls>TRUE</IncludeAttachmentUrls>? Into CAMLQuery or ViewFields?

eLGi wrote Dec 3, 2015 at 8:50 AM

Can't edit my comment so am writing a new one. Fixed, added <IncludeAttachmentUrls>TRUE</IncludeAttachmentUrls> into CAMLQueryOptions.