Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CE27B200B89 for ; Wed, 21 Sep 2016 16:48:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CCB49160ADE; Wed, 21 Sep 2016 14:48:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ED223160ABC for ; Wed, 21 Sep 2016 16:48:10 +0200 (CEST) Received: (qmail 84944 invoked by uid 500); 21 Sep 2016 14:48:06 -0000 Mailing-List: contact users-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@nifi.apache.org Delivered-To: mailing list users@nifi.apache.org Received: (qmail 84753 invoked by uid 99); 21 Sep 2016 14:48:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2016 14:48:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5AE3E1A732E for ; Wed, 21 Sep 2016 14:48:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 720uk3Taow2d for ; Wed, 21 Sep 2016 14:48:04 +0000 (UTC) Received: from mail-yb0-f181.google.com (mail-yb0-f181.google.com [209.85.213.181]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id A559F5FE36 for ; Wed, 21 Sep 2016 14:48:03 +0000 (UTC) Received: by mail-yb0-f181.google.com with SMTP id d69so32830610ybf.2 for ; Wed, 21 Sep 2016 07:48:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=FtaEjViuC7y/XUwmmfgwPJFxgA5ANWmX/P1JhrBFBpo=; b=WCxJv+I80DDYM+IZW/JukJMq/3wz78d0aFJWn9rJFLNAC39kRj+4YhJwmYY5I/Bk// tpveWu2bnV1IWCxUqy6NIwBl5qFU3h0PRiFnGgw4gNQP8SHRIMO2fjpGqGfl/U7duCFF OLYSi0I35PKzmMuKZ/eQ8kTznbNoE+cVQniAVAsbKCp9zcu83hioUmvWpMz+PTHY1eXS InyukOlCeYG0QRZy2ml62yztsgboNpJVDWCI2IxsEjt1IGxOwWemDGehV1Jadwnu4yTF Piyc+3O+JQa/kHThJAWULWtAjekWkNylMT0iEavdImYXPgZm6D+Kaff+d2YbLcaM3F/f Crow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=FtaEjViuC7y/XUwmmfgwPJFxgA5ANWmX/P1JhrBFBpo=; b=g3guU/ZufETzUXon8uIHN+wCrnAXX/IFEyIColInshd444tBrSwLUiH8rVwmHqOK/u sg3Gv1jZH6YhWsBiTOyBbIDaWcnOzXFHAD+G14pWSBQTsUfoCF2DFwJYdHrD9Bw7Kia7 o3Ji8TmgBAgICFtuge6BUELgnv8M+/+dRLwMEYi/FOe0DT27yREOarXn1kZHMYG6VwNL W64Wl9MsdFEjKdgqKIvfXYN2otDTZm8gMDPNF3DsL5w6E3HwylFQn0Ft5YUz2ugpCraD I5DVl3Ws3TdZc0nUaX0n4AMPwTdS7lAdHi1rtBbd+HJGhrlEKOHqPD9hCfjYgXwFSqEt MZAA== X-Gm-Message-State: AE9vXwNJO058XDtiVhxvV2mScUfLKAYXf9wbFh5Hn9W2AA0D6BCFp/JLqq/Isw4d9a4qpiCQb2x2GQBC2M1/yw== X-Received: by 10.37.16.214 with SMTP id 205mr35804452ybq.41.1474469282482; Wed, 21 Sep 2016 07:48:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.18.69 with HTTP; Wed, 21 Sep 2016 07:47:22 -0700 (PDT) In-Reply-To: References: From: Aldrin Piri Date: Wed, 21 Sep 2016 10:47:22 -0400 Message-ID: Subject: Re: Idea needed to get XL from SharePoint using NiFi To: users@nifi.apache.org Content-Type: multipart/alternative; boundary=001a113ee944d09464053d05a156 archived-at: Wed, 21 Sep 2016 14:48:12 -0000 --001a113ee944d09464053d05a156 Content-Type: text/plain; charset=UTF-8 Hi Ram, Accomplishing this task would require some effort beyond those items currently bundled with NiFi. I am not well versed in Sharepoint internals, but it seems like there is an available REST API [1] that would allow you to access files and folders [2]. Depending on the nuances of authentication, InvokeHTTP may be a reasonable solution to both query an endpoint and serve as a means for finding additional information to get specific files and folders. Doing some quick searching on top of that, it appears there are a few libraries available that may facilitate acquiring files from Sharepoint which could be used in a custom processor to streamline the process. Once you are able to access Sharepoint and gather the documents of interest, some transform would be needed from the xls(x) format to CSV. I have a vague recollection of someone in the community working with Apache POI [3] to facilitate this process but cannot seem to find the reference with some searching. This would also require custom processor development. The suite of ExecuteProcess, ExecuteStreamCommand, ExecuteScript, InvokeScripted processors may provide some additional avenues for exploration if you currently have applications that accomplish some of this presently or have comfort working with JVM-friendly scripting languages. The final steps of saving to disk and/or loading a database are supported and should cover your needs beyond the data capture and transformation. [1] https://msdn.microsoft.com/EN-US/library/office/fp142380.aspx [2] https://msdn.microsoft.com/en-us/library/office/dn292553.aspx [3] http://poi.apache.org/ On Mon, Sep 19, 2016 at 4:58 PM, Nathamuni, Ramanujam wrote: > Hello: > > > > I need to get the XL files on windows SharePoint 2013 and store as CSV > file or load into database? Please give me the things to try out? > > > > Thanks, > > Ram > > > ************************************************************************* > This e-mail may contain confidential or privileged information. > If you are not the intended recipient, please notify the sender > immediately and then delete it. > > TIAA > ************************************************************************* > --001a113ee944d09464053d05a156 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Ram,

Accomplishing this task would r= equire some effort beyond those items currently bundled with NiFi.

I am not well versed in Sharepoint internals, but it = seems like there is an available REST API [1] that would allow you to acces= s files and folders [2].=C2=A0 Depending on the nuances of authentication, = InvokeHTTP may be a reasonable solution to both query an endpoint and serve= as a means for finding additional information to get specific files and fo= lders.=C2=A0 Doing some quick searching on top of that, it appears there ar= e a few libraries available that may facilitate acquiring files from Sharep= oint which could be used in a custom processor to streamline the process.

Once you are able to access Sharepoint and gather t= he documents of interest, some transform would be needed from the xls(x) fo= rmat to CSV.=C2=A0 I have a vague recollection of someone in the community = working with Apache POI [3] to facilitate this process but cannot seem to f= ind the reference with some searching.=C2=A0 This would also require custom= processor development.

The suite of ExecuteProces= s, ExecuteStreamCommand, ExecuteScript, InvokeScripted processors may provi= de some additional avenues for exploration if you currently have applicatio= ns that accomplish some of this presently or have comfort working with JVM-= friendly scripting languages.=C2=A0

The final step= s of saving to disk and/or loading a database are supported and should cove= r your needs beyond the data capture and transformation.

On Mon, Sep 19, 2016 at 4:58 PM, Nathamuni, Ramanujam &= lt;RNathamuni@tiaa= .org> wrote:

Hello:

=C2=A0

I need to get the XL file= s on windows SharePoint 2013 =C2=A0and store as CSV file or load into datab= ase? Please give me the things to try out?=C2=A0

=C2=A0

Thanks,

Ram


*****************************************************************= ********
This e-mail may contain confidential or privileged information.
If you are not the intended recipient, please notify the sender immediately= and then delete it.

TIAA
*****************************************************************= ********


--001a113ee944d09464053d05a156--