function GetsubfolderName(parfoldname) {
// alert(parfoldname);
var rootID;
var rootname;
var Currentloginuserid = $("#<%=hdnCurrentloginuserid.ClientID%>").val();
try {
$().SPServices({
operation: "GetListItems",
async: false,
listName: "CMS_Users_Mailbox_SubFolders",
CAMLQuery:
""
+ parfoldname + " ",
completefunc: function (xData, Status) {
$(xData.responseXML).find("[nodeName='z:row']").each(function () {
rootID = $(this).attr("ows_RootFolderID");
rootname = $(this).attr("ows_RootFolder");
});
}
});
return (rootname, rootID);
} catch (e) {
}
}
Tuesday, January 6, 2015
Get list items in SharePoint using SPServices
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment