Active
Project:
Dataview
Version:
5.x-1.0-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2008 at 23:46 UTC
Updated:
22 Jan 2008 at 02:41 UTC
According to the module's description, dataview is able to "export (..) the current view as an XML-based spreadsheet". Can someone perhaps explain how this is done?
Comments
Comment #1
mandclu commentedI guess the obvious answer would be that you can look at the code and see for yourself... ;-)
The module provides a mechanism for displaying data as a table, and that data can be sorted and filtered using links in the column headings and provided dropdowns. A user will see a link (when permitted) to download the current data representation (including the current filter values and sort value) as a spreadsheet, formatted according to the SpreadsheetML specification (not the very latest, which allows for things like inline images, but the previous version, which is more widely supported).
The dataview module provides an API, and it is up to you to implement that API in a module that defines the table, fields, and associated options, and then calls the dataview function that will generate the table and dropdowns. Your module will also need to define any access restrictions.
Is that the kind of answer you are after?