fable-import-sharepoint
v0.20.0
Published
Fable bindings for SharePoint
Downloads
9
Readme
fable-import-sharepoint
Fable bindings for SharePoint. Simple library that can be used to create client-only SharePoint application in F#.
Complete application
One of the easiest way to crate SharePoint application is to create the lists and then create custom forms. You can then modify the form HTML to comply with your requirements.
These days users are used to web applications that contain client functionality like validations, autocomplete etc. written in JavaScript.
There are already some helper JavaScript libraries like SharePoint Cascaded Lookups - JavaScript based or The Patterns and Practices JavaScript Core Library.
If you want to build an application in SharePoint and modify the form functionality in F#, you implement IApplicationV2
interface.
JavaScript API reference for SharePoint 2013 (JSOM)
Most of the functions from JavaScript API reference for SharePoint 2013 (JSOM) are available as Fable interfaces and F# functions.
async {
let! currentUser = clientContext |> getCurrentUserAsync
let selectedIds = getSelectedIds()
let list = web.get_lists().getByTitle(listName)
logO "List" list
} |> Async.StartImmediate