manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1544016 - in /manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-813: CHANGES.txt webservice/MCPermissions.cs
Date Thu, 21 Nov 2013 02:52:48 GMT
Author: kwright
Date: Thu Nov 21 02:52:48 2013
New Revision: 1544016

URL: http://svn.apache.org/r1544016
Log:
Restore removed functionality since it is apparently needed after all.

Modified:
    manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-813/CHANGES.txt
    manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-813/webservice/MCPermissions.cs

Modified: manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-813/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-813/CHANGES.txt?rev=1544016&r1=1544015&r2=1544016&view=diff
==============================================================================
--- manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-813/CHANGES.txt (original)
+++ manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-813/CHANGES.txt Thu Nov 21
02:52:48 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/branches/CONNECTORS-813/webservice/MCPermissions.cs
URL: http://svn.apache.org/viewvc/manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-813/webservice/MCPermissions.cs?rev=1544016&r1=1544015&r2=1544016&view=diff
==============================================================================
--- manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-813/webservice/MCPermissions.cs
(original)
+++ manifoldcf/integration/sharepoint-2010/branches/CONNECTORS-813/webservice/MCPermissions.cs
Thu Nov 21 02:52:48 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++;



Mime
View raw message