Skip to content
Snippets Groups Projects
Forked from project / xls_serialization
4 commits behind, 1 commit ahead of the upstream repository.
François's avatar
Issue #3487578 by mably: Remove deprecated encoder method in branch 2.0.x
Frank Mably authored
ee52f621
History

Excel Serialization

This module provides an Excel encoder for the Drupal Serialization API. This enables the XLS format to be used for data output (and potentially input, eventually). For example:

  • Drupal's REST module can return data in XLS format.
  • Views can output XLS data via a 'REST Export' view, or a Data Export view.
  • Module developers can leverage XLS as a format when using the Serialization API.

Installation

Creating an XLS view

  1. Create a new view
  2. Add a Data Export display (this assumes the use of the Views Data Export) module. Otherwise add a REST Export view.
  3. Check only 'xls' for the accepted request formats under Format > Data export >Settings.
  4. Add desired fields to the view.
  5. Add a path, and optionally, a filename pattern.