[
https://issues.apache.org/jira/browse/CONNECTORS-470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412761#comment-13412761
]
Ahmet Arslan commented on CONNECTORS-470:
-----------------------------------------
Hi Karl, regarding getFieldValues(), it is now called for different fieldNames.
I attached a screenshot about how returned Map is populated.
!https://issues.apache.org/jira/secure/attachment/12536212/getFieldNames.jpg!
Some observations:
* two attributes ows_Author="1073741823;#System Account" and
ows_Editor="1073741823;#System Account" starts with some prefix other than
ows_ProgId="29;#". This yields 'multiple values encountered for non multiValued
field author:' solr error.
* some attributes in fieldNames does not exist in xml response. For example
CheckoutUser. doc.getValue(o, "ows_CheckoutUser") return empty string in that
case. It does not return null.
* some attributes are exactly same with ProgId, after progIDSubstitute() they
become empty string too. For example : ows_ParentLeafName="29;#" and
ows__CheckinComment="29;#"
{code:xml}
<ns1:listitems xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema"
xmlns:ns1="http://schemas.microsoft.com/sharepoint/soap/">
<rs:data ItemCount="1">
<z:row ows_Author="1073741823;#System Account" ows_ContentType="Converted
Forms" ows_Created="2012-03-19 08:49:09" ows_DocIcon="cvt" ows_Edit="0"
ows_Editor="1073741823;#System Account" ows_FileSizeDisplay="165901"
ows_FolderChildCount="29;#0" ows_FormRelativeUrl="/_CATALOGS/WFPUB/IKNOW
CONTENT PUBLISHING FLOW-1/IKNOW CONTENT PUBLISHING FLOW-1.XSN"
ows_FormVersion="AGUPLCZEK6KKWRMEKVAQ7FW4FF5VIL27INAVIQKMJ5DVGL2XIZIFKQRPJFFU4T2XEBBU6TSUIVHFIICQKVB1+Ffg7q79oBE0coroJHlamNIBMAhhMq1TMR3fwNMMkI="
ows_ID="29" ows_ItemChildCount="29;#0" ows_Modified="2012-03-19 08:49:09"
ows_ParentLeafName="29;#" ows_ParentVersionString="29;#"
ows__CheckinComment="29;#" ows__UIVersionString="1.0" ows_ProgId="29;#"
ows__ModerationStatus="0" ows__Level="1"
ows_UniqueId="29;#{9E3EB0A6-7929-4106-A6FB-5D25A1F516D0}" ows_FSObjType="29;#0"
ows_Created_x0020_Date="29;#2012-03-19 08:49:09"
ows_FileRef="29;#IWConvertedForms/c14-7vm4FwwWQ37Om69gDN3IcfzzAczXBP7cS2k1rZyniY-MZnWTK6zgYmu36qiC9I0pnAl8yT6vmCjVfBta1DZ0Y.cvt"
ows_MetaInfo="29;#FormVersion:SW|AGUPLCZEK6KKWRMEKVAQ7FW4FF5VIL27INAVIQKMJ5DVGL2XIZIFKQRPJFFU4T2XEBBU6TSUIVHFIICQKVB1+Ffg7q79oBE0coroJHlamNIBMAhhMq1TMR3fwNMMkI=
vti_parserversion:SR|14.0.0.4762
vti_folderitemcount:IR|0
ContentType:SW|Converted Forms
ContentTypeId:SW|0x00C3F745B67851D346B53181DE517803CF
vti_author:SR|SHAREPOINT\\system
FormRelativeUrl:SW|/_CATALOGS/WFPUB/IKNOW CONTENT PUBLISHING FLOW-1/IKNOW
CONTENT PUBLISHING FLOW-1.XSN
vti_modifiedby:SR|SHAREPOINT\\system
TemplateId:SW|
vti_foldersubfolderitemcount:IR|0
" ows_Last_x0020_Modified="29;#2012-03-19 08:49:09" ows_owshiddenversion="2"
ows_FileLeafRef="29;#c14-7vm4FwwWQ37Om69gDN3IcfzzAczXBP7cS2k1rZyniY-MZnWTK6zgYmu36qiC9I0pnAl8yT6vmCjVfBta1DZ0Y.cvt"
ows_PermMask="0x7fffffffffffffff"/>
</rs:data>
</ns1:listitems>
{code}
> SharePoint 2010 support
> -----------------------
>
> Key: CONNECTORS-470
> URL: https://issues.apache.org/jira/browse/CONNECTORS-470
> Project: ManifoldCF
> Issue Type: Improvement
> Components: SharePoint connector
> Affects Versions: ManifoldCF 0.5, ManifoldCF 0.6
> Reporter: Karl Wright
> Assignee: Karl Wright
> Fix For: ManifoldCF 0.7
>
> Attachments: CONNECTORS-470.patch, CONNECTORS-470.patch,
> CONNECTORS-470.patch, Screen Shot 2012-05-31 at 11.21.12 AM.png,
> getFieldNames.jpg, pagination.zip, pom.patch, pom.patch
>
>
> See here for list of the SharePoint web services for SharePoint 2010:
> http://msdn.microsoft.com/en-us/library/ee705814.aspx
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira