Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/jfwells/jfwhome/wp-settings.php on line 18
Warning: Cannot modify header information - headers already sent by (output started at /home/jfwells/jfwhome/wp-settings.php:18) in /home/jfwells/jfwhome/wp-includes/feed-rss2-comments.php on line 8 Comments on: Querying subfolders in SharePoint lists using SPAPI and GetListItems()
http://www.jfwhome.com/2009/11/11/querying-subfolders-in-sharepoint-lists-using-spapi-and-getlistitems/
Extraneous Thought RepositorySun, 05 Feb 2012 18:45:16 +0000http://wordpress.org/?v=2.7.1hourly1By: ved
http://www.jfwhome.com/2009/11/11/querying-subfolders-in-sharepoint-lists-using-spapi-and-getlistitems/comment-page-1/#comment-1320
vedThu, 06 Jan 2011 13:48:18 +0000http://www.jfwhome.com/?p=61#comment-1320just use the path of folder from document ibrary i.e.
If document ibrary = doclib then use as:
queryOption.InnerXml =
<code><Folder>doclib/folder/sub_folder/</Folder></code>just use the path of folder from document ibrary i.e.
If document ibrary = doclib then use as:
]]>By: ved
http://www.jfwhome.com/2009/11/11/querying-subfolders-in-sharepoint-lists-using-spapi-and-getlistitems/comment-page-1/#comment-1319
vedThu, 06 Jan 2011 13:44:01 +0000http://www.jfwhome.com/?p=61#comment-1319just use the path of folder from document ibrary i.e.
If document ibrary = doclib then use as:
queryOption.InnerXml = "doclib/folder/sub_folder/";just use the path of folder from document ibrary i.e.
If document ibrary = doclib then use as:
]]>By: Zafer
http://www.jfwhome.com/2009/11/11/querying-subfolders-in-sharepoint-lists-using-spapi-and-getlistitems/comment-page-1/#comment-1284
ZaferFri, 17 Dec 2010 21:41:03 +0000http://www.jfwhome.com/?p=61#comment-1284It's not working it returns all items and folders from the whole list, its like its been set to be recursive, any idea ?
thanx heapIt’s not working it returns all items and folders from the whole list, its like its been set to be recursive, any idea ?
thanx heap
]]>By: devin
http://www.jfwhome.com/2009/11/11/querying-subfolders-in-sharepoint-lists-using-spapi-and-getlistitems/comment-page-1/#comment-366
devinWed, 19 May 2010 14:05:23 +0000http://www.jfwhome.com/?p=61#comment-366Thanks a bunch. This helped me a lot too.
Also just to note, I was running this using the folder path from another query and when getListItems returns the results "ows_FileDirRef" has the folder id added to the front like this "17;#listName\folderName\subFolder", so if you want to use it you have to remove it with something like "result.Substring(result.IndexOf('#')+1)"Thanks a bunch. This helped me a lot too.
Also just to note, I was running this using the folder path from another query and when getListItems returns the results “ows_FileDirRef” has the folder id added to the front like this “17;#listName\folderName\subFolder”, so if you want to use it you have to remove it with something like “result.Substring(result.IndexOf(’#')+1)”
]]>By: Mark
http://www.jfwhome.com/2009/11/11/querying-subfolders-in-sharepoint-lists-using-spapi-and-getlistitems/comment-page-1/#comment-340
MarkThu, 01 Apr 2010 08:20:49 +0000http://www.jfwhome.com/?p=61#comment-340thanks man, I was also having a hard time with this - i'm hating sharepoint at the moment but at least your article saved me a struggle.thanks man, I was also having a hard time with this - i’m hating sharepoint at the moment but at least your article saved me a struggle.
]]>