Using SheetJS with SharePoint 2013 and InfoPath 2010 #839
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#839
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
How can this powerful tool, SheetJS, be used with SharePoint 2013 and InfoPath 2010 forms?
What are you looking to do with it? SharePoint lists and libraries (including form libraries) are already exportable to Excel as far as I know.
Admittedly not too familiar with InfoPath, what is the end goal?
This library lets you convert between worksheets and structured tables, like arrays of arrays or arrays of JS objects. The utility functions section of the docs explain those operations in more detail.
The raw mechanics of interacting with the SharePoint and InfoPath infrastructure is outside of the scope, but from what I've read you should be able to interact using the SP library or using the REST API directly.
With the SP library,
SP.ListItem.get_fieldValues()
will return a JS object that should play nice withsheet_to_json
andsheet_add_json
, so (untested) exporting a SP list would look like:A quick google search also revealed: