Author: kwright
Date: Wed Nov 20 17:35:04 2013
New Revision: 1543888
URL: http://svn.apache.org/r1543888
Log:
Changes for CONNECTORS-813.
Modified:
manifoldcf/integration/sharepoint-2010/trunk/CHANGES.txt
manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs
Modified: manifoldcf/integration/sharepoint-2010/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/manifoldcf/integration/sharepoint-2010/trunk/CHANGES.txt?rev=1543888&r1=1543887&r2=1543888&view=diff
==============================================================================
--- manifoldcf/integration/sharepoint-2010/trunk/CHANGES.txt (original)
+++ manifoldcf/integration/sharepoint-2010/trunk/CHANGES.txt Wed Nov 20
17:35:04 2013
@@ -3,6 +3,9 @@ $Id$
======================= 0.4-dev =====================
+CONNECTORS-813: Include a URL that should be used to send to the
+output connector for a given list item.
+
======================= Release 0.3 =====================
CONNECTORS-772: SharePoint on AWS does not permit using the
Modified:
manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs
URL:
http://svn.apache.org/viewvc/manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs?rev=1543888&r1=1543887&r2=1543888&view=diff
==============================================================================
--- manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs
(original)
+++ manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs
Wed Nov 20 17:35:04 2013
@@ -130,6 +130,10 @@ namespace MetaCarta.SharePoint.SoapServe
XmlAttribute idAttribute =
doc.CreateAttribute("FileRef");
idAttribute.Value = oListItem.Url;
resultNode.Attributes.Append(idAttribute);
+ XmlAttribute urlAttribute =
doc.CreateAttribute("ListItemURL");
+ //urlAttribute.Value =
oListItem.ParentList.DefaultViewUrl;
+ urlAttribute.Value =
string.Format("{0}?ID={1}",
oListItem.ParentList.Forms[PAGETYPE.PAGE_DISPLAYFORM].ServerRelativeUrl,
oListItem.ID);
+ resultNode.Attributes.Append(urlAttribute);
getListItemsNode.AppendChild(resultNode);
}
counter++;