ncssar / sign-in

computerized sign-in system for meetings, trainings, and searches; should eventually integrate with the T-card project
1 stars 0 forks source link

automatic roster update workflow #37

Open caver456 opened 5 years ago

caver456 commented 5 years ago
  1. get a standardized location or other standardized file pattern in sharepoint to download from
  2. do the automatic download from the app
  3. convert from xls or xlsx to csv in the app - use xlrd? https://stackoverflow.com/questions/9884353/xls-to-csv-converter
caver456 commented 5 years ago

now that we have an API, maybe host the roster on the server and have the clients check for and download it. Would need to have some timestamp on each one, and clients could compare, and tell the host which roster they used. Also allow multiple rosters (for different agencies).

caver456 commented 4 years ago

This is working - Steve added the script on the server that grabs the roster from D4H once a day and saves it in the 'roster' table of SignIn.db, and a corresponding API call was added so nodes can grab the latest roster from the cloud server then save it as a local .json file; on each node, the node only actually uses roster data from the .json file.

Remaining items to clean up before closing this ticket: