Author: kwright
Date: Sat Nov 23 13:48:22 2013
New Revision: 1544794
URL: http://svn.apache.org/r1544794
Log:
Fix CONNECTORS-813.
Modified:
manifoldcf/integration/sharepoint-2010/trunk/ (props changed)
manifoldcf/integration/sharepoint-2010/trunk/CHANGES.txt
manifoldcf/integration/sharepoint-2010/trunk/webservice/ (props changed)
manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs
Propchange: manifoldcf/integration/sharepoint-2010/trunk/
------------------------------------------------------------------------------
Merged
/manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-813:r1544015-1544793
Modified: manifoldcf/integration/sharepoint-2010/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/manifoldcf/integration/sharepoint-2010/trunk/CHANGES.txt?rev=1544794&r1=1544793&r2=1544794&view=diff
==============================================================================
--- manifoldcf/integration/sharepoint-2010/trunk/CHANGES.txt (original)
+++ manifoldcf/integration/sharepoint-2010/trunk/CHANGES.txt Sat Nov 23
13:48:22 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
Propchange: manifoldcf/integration/sharepoint-2010/trunk/webservice/
------------------------------------------------------------------------------
Merged
/manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-813/webservice:r1544015-1544793
Modified:
manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs
URL:
http://svn.apache.org/viewvc/manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs?rev=1544794&r1=1544793&r2=1544794&view=diff
==============================================================================
--- manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs
(original)
+++ manifoldcf/integration/sharepoint-2010/trunk/webservice/MCPermissions.cs
Sat Nov 23 13:48:22 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++;