Solved

Sharepoint pulls data from excel or text file

Posted on 2014-09-09
5
168 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now