Solved

Sharepoint pulls data from excel or text file

Posted on 2014-09-09
5
172 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:Vic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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:Vic
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:Vic
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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
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 …

763 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