2

I have a requirement in which suppose if someone adds an item in List, item details should be automatically updated to Excel/Csv file which has same column names as list.

This Excel/csv file can be in a library or on file system.

Is this possible? I have googled it a lot but could not find anything.

4

The Excel file can be created for you automatically - there is no need to make a new Excel file yourself with headers to match the Sharepoint field names. Try this: use the Export to Excel feature to take an extract of your list.

Save the Excel file, do not break the link (Unlink) - this will maintain a connection with changes made to the List.

unlink

You can upload your file and store it in Sharepoint so other users can share it. The file can be refreshed with any modifications coming from the linked Sharepoint List.

Refresh linked Excel file

To test refreshing the data, make a change to an item in your linked List. Then open the Excel file and select refresh all - Excel will update to match with changes made in the List.

refresh

Additional note

If you use the linked Excel file to create graphs, you can set up your file in such a way that the graphs will update when new data is available in the List. When you refresh the file, it will refresh your graphs too. Very useful for reporting of e.g. monthly KPIs.

Updated

Make the Excel file auto-refresh when the file is opened. See this link for details.

auto refresh setting

  • Although a great solution but As per the requirement we don't want to refresh it manually. And as per this solution we'll have to refresh it every time whenever we'll open the file. We want file to be updated all the time in library. Open it and find all the data, That's it. – Ravi Feb 5 at 13:39
  • Well, I am spoiling you by doing all the work, but I've updated my answer – Tally Feb 5 at 14:18
  • Sorry for my last confusing comment. But I already have tried this approach but the problem is that the client does not even want to open the file. They are going to feed the file URL in a 3rd party tool which will read the data for them. So unfortunately this also will not help, at least in my case. Is there any other approach which can simply update the file, without even opening or refreshing the connection. Thanks for your time :) – Ravi Feb 5 at 15:05

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.