Solved

Sharepoint pulls data from excel or text file

Posted on 2014-09-09
5
171 Views
Last Modified: 2014-10-02
Can someone shed some light on the best easiest way for SharePoint to pull data from a text file or excel?  Basically, I want SharePoint to display the updated Wi-Fi passcode each month automatically from a preset password file.

For example, the data file will include:
2014, JAN, 12345
2014, FEB, 54321
....
2014, DEC, 98765
0
Comment
Question by:vto
  • 3
  • 2
5 Comments
 
LVL 37

Expert Comment

by:Neil Russell
ID: 40313254
So i assume that every month somebody has to manually change the WiFi password on at least one device?
Why not just have this person also update the single Item on Sharepoint?

What happens when its automated and the man/woman doing the Manual process of updating your WiFi routers is off sick or just plain forgets for a few hours and nobody can access using the password on sharepoint?
0
 
LVL 4

Author Comment

by:vto
ID: 40313277
Neilsr - all APs are already preset with the same passwords on the password file.  There is no manual input required.
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 40313293
OK so if thats the case and somebody had to type them in, why not create a sharepoint list that holds that self same information and just have a view that filters and only shows the one record that has a month = to the month of [Today] ?

Reading a text file in can be done in many ways but for such a small amount of information the simplest method is human typist.

If you MUST do it by a script then powershell is quite good at doing sharepoint.  Or just use the sharepoint Create new list from import excel feature found on the Create New List page.
0
 
LVL 4

Author Comment

by:vto
ID: 40313303
Can you elaborate more on the sharepoint filter?
0
 
LVL 37

Accepted Solution

by:
Neil Russell earned 500 total points
ID: 40313321
Easiest way would be to have 2 date fields, [Start of month] and [End of Month]
Set these to the start and end dates of the month that each password is for
e.g.
HYT65!ws  01/01/2014 31/01/2014

Now create a view on that list that has a filter set to...

[Today] >= [Start Of Month]

AND

[Today] <= [End Of Month]
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question