[ 
https://issues.apache.org/jira/browse/CONNECTORS-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17350025#comment-17350025
 ] 

Karl Wright commented on CONNECTORS-1668:
-----------------------------------------

If you think you have a web service call that will locate the list of virtual 
sites given a root site, I'd create a method in SPSProxyHelper that implements 
that.  If you can show it works, the next thing to do is:

(1) Come up with a document identifier format that represents the root site.
(2) Change the processDocuments() method of the connector to recognize that 
document identifier format and call your new method.  The results should be 
added to the queue using "processActivities.addDocumentReference()".
(3) Decide how the document specification for this connector would need to be 
extended to support virtual site discovery - this is actually the tricky part, 
because you will need to modify the HTML editor for document specification 
editing to include this.

I can help you with (3) but first you need to prove you can do (1).
 

> Use of Wild Characters in SharePoint Connector.
> -----------------------------------------------
>
>                 Key: CONNECTORS-1668
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1668
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: SharePoint connector
>    Affects Versions: ManifoldCF 2.16
>            Reporter: Shashank Dwivedi
>            Assignee: Karl Wright
>            Priority: Major
>             Fix For: ManifoldCF 2.16
>
>         Attachments: image-2021-05-23-00-36-45-378.png
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Hi, 
> My SharePoint site is of the following *Format* :
> -*Projects(root)*
>    -*Project 1*
>         -Project Library
>         -Folder 1
>         -Folder 2 ... Folder N
>    -*Project 2 ... Project N*
>         -Project Library
>         -Folder 1 .. Folder N
> We have the *Projects(root site)* in this fashion from Project 1 to *Project 
> N(20000)*, where N is a *large number.* I wish to process all files present 
> inside the *Project Library folder* of all the projects.
> So, as a Path rule I am currently supplying "*Projects/**/*Project Library/* 
> *". There is no space between / and * in the last.
> However, this is *not working out*. It is also pulling documents inside 
> *Folder 1, Folder2,..Folder N.* I want it to Process files only inside 
> Project Library.
> Please suggest me the right way to accomplish this Task.
> I could not identify any suggestion regarding the same in the End user 
> Documentation.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to