Home
> Work > Useful Information: Determining if the web service return is a File or a Folder in GetListItems (Lists.asmx) #in #SP2010 #SharePoint
Useful Information: Determining if the web service return is a File or a Folder in GetListItems (Lists.asmx) #in #SP2010 #SharePoint
Just a useful quick tip I noticed whilst answering a question for a client the other day.
In the return of the GetListItems method of the Lists.asmx Web Service, one of the fields is:
- ows_FSObjType
This essentially allows us to determine of the return is either a File or a Folder.
The detail of the return is as follows:
- <Item ID>;#<File System Object Type>
- Example Data: 1;#0
Options for the File System Object Type:
- 0 = File
- 1 = Folder
Categories: Work
MOSS 2007, SharePoint 2010, SPF 2010, WSS 3.0
Comments (0)
Trackbacks (0)
Leave a comment
Trackback