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

Shashank Dwivedi commented on CONNECTORS-1668:
----------------------------------------------

Hello Karl, 

I have an idea, since my path rules follow strict pattern like this like this :-

1) "<action ="include" path="/*Projects/Project 1/ProjectLibrary/* *" 
type="File">"

2) "<action ="include" path="/*Projects/Project 2/ProjectLibrary/* *" 
type="File">"

N) "<action ="include" path="/*Projects/Project N/ProjectLibrary/* *" 
type="File">"

where N = 20,000

I plan to first make a *webservice call* to SharePoint and get the *list of 
projects* by supplying *"/Projects"* *as parent site in getSite method in 
SPSProxyHelper*, and then manually create the above paths with String operation 
and append the complete list to *docspec* field against the *jobID in the 
database*.

I want this call and database update to happen automatically just *before the 
SharePoint job* is triggered.

The SPSProxyHelper class helps to make a  webservice call to SharePoint.

So my question is what are the *minimum parameters required to make this 
webservice call* and how can i make this webservice call and update the 
database just before the SharePoint Job starts running.

Where in the code should I make this call and update the database.

> 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