Skip to content

hsharpsoftware/fable-import-sharepoint

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 create 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

Releases

No releases published

Packages

No packages published

Languages