% content_for :before_content do %> <%= govuk_back_link href: @form.back_path %> <% end %>
You can upload one sales or lettings log at a time, or many at once (known as ‘bulk upload’) with a comma-separated values (CSV) spreadsheet file.
Bulk upload may be easier if your organisation deals with many logs, or if you can export CSV data from your Housing Management System (HMS).
If your organisation only deals with a small amount of logs, or you cannot export CSV data, it’s probably easier to create logs individually using the online form.
Export CSV data directly from your current systems.
You should export lettings and sales data separately, and data from different collection years separately.
The exported CSV file should have one row per log so that the data can fit into the bulk upload template.
If your organisation has an HMS
Some HMS providers sell an add-on "eCORE" module, which exports CSV data in the format we require.
If your organisation does not have an HMS
Your organisation’s IT team may be able to export CSV data for you, depending on how data is stored in your organisation.
Review the bulk upload template and specification carefully to understand how we expect data to be mapped and formatted. The next 2 sections explain more about these documents.
<% end %> <%= accordion.with_section(heading_text: "Using the bulk upload template") do %>For each collection year, we publish a bulk upload template and specification.
The bulk upload templates contain 7 or 8 rows of ‘headers’ with information about how to fill in the template, including:
You can paste your data below the headers or copy the headers and insert them above the data in your file. The bulk upload fields start at column B. Leave column A blank.
Make sure that each column of data aligns with the corresponding question in the headers. We recommend ordering your data to match the headers, but you can also reorder the headers to match your data. When processing the file, we check what each column of data represents based on the headers above.
<% unless @form.year == 2023 %>For 2023/24 uploads, there are 2 templates to choose from, a new template and a legacy template. They outline suggested ways of ordering your data.
You must include the headers in your file when you upload, unless your data matches the exact order of the legacy template. If you choose to remove the headers, you must also remove the blank column A.
New template: In this template, the questions are in the same order as the <%= @form.year_combo %> paper form and web form. Use this template if your organisation is new to bulk upload or if your housing management system matches the new column ordering.
<% end %><%= govuk_link_to @form.download_text("lettings", "template", "new"), @form.lettings_template_path %>
<%= govuk_link_to @form.download_text("sales", "template", "new"), @form.sales_template_path %>
<% if @form.year == 2023 %>Legacy template: In this template, the questions are in the same order as the 2022/23 template, with new questions added on to the end. Use this template if you have not updated your system to match the new template yet.
<%= govuk_link_to @form.download_text("lettings", "template", "legacy"), @form.lettings_legacy_template_path %>
<%= govuk_link_to @form.download_text("sales", "template", "legacy"), @form.sales_legacy_template_path %>
<% end %> <% end %> <%= accordion.with_section(heading_text: "Using the bulk upload specification") do %>The bulk upload specification contains the same information as the template headers, as well as more details about the accepted responses for each question. For multiple-choice questions, we use number or letter codes to represent each option, and the specification shows what answer each code represents.
There is a separate specification for lettings and sales:
<%= govuk_link_to @form.download_text("lettings", "specification"), @form.lettings_specification_path, target: "_blank" %>
<%= govuk_link_to @form.download_text("sales", "specification"), @form.sales_specification_path, target: "_blank" %>
If your upload fails because there are errors in the data, you can use the specification to help correct the errors. Having your file, the error report, and the specification open at the same time will make it easy to cross-reference field numbers and check accepted responses.
<% end %> <%= accordion.with_section(heading_text: "Saving your file as a CSV") do %>To bulk upload successfully, all spreadsheets must be in the correct CSV format.
If you’ve pasted your data into the template, you will need to resave the file as a CSV.
CSV files are unformatted, so any formatting added before saving (for example colours) will automatically disappear.
What is a CSV?
A CSV file is a basic spreadsheet with data values in plain text, and columns separated by commas. Each data row is a new text line.
CSV data is easier to process than more common advanced spreadsheet formats, for example Excel. It means CSV is well suited to upload large data sets.
<% end %> <%= accordion.with_section(heading_text: "Next steps") do %>Once you've saved your CSV file, you can upload it via a button at the top of the lettings and sales logs pages.
When your file is done processing, you will receive an email explaining your next steps. If all your data is valid, your logs will be created. If some data is invalid, you’ll receive an email with instructions about how to resolve the errors.
If your file has errors on fields 1 through 17, you must fix these in the CSV. This is because we need to know these answers to validate the rest of the data. Any errors in these fields will be featured in the error report’s summary tab.
If none of your errors are in fields 1 through 17, you can choose how to fix the errors. You can either fix them in the CSV and reupload, or create partially complete logs and answer the remaining questions on the CORE site. Any errors that affect a significant number of logs will be featured in the error report’s summary tab to help you decide.
<% end %> <%= accordion.with_section(heading_text: "Getting help") do %>The bulk upload template and specification should contain all the information you need to format your data correctly and fix any errors found during processing. If you still need support with your bulk upload, <%= govuk_link_to "contact the helpdesk", GlobalConstants::HELPDESK_URL %>.
<% end %> <% end %>