Skip to content

Utilities

Michael edited this page Jul 15, 2017 · 2 revisions

Utilities are just some handy unrelated methods which are offered in the Framework. More will be added over time.

GeoUtility (SpproFramework.Utilities.GeoUtility)

static void AddGeolocationField(ClientContext context, string listName, string columnName)

  • Adds a Geolocation column to a list in SharePoint Usage:

      SpproFramework.Utilities.GeoUtility.AddGeolocationField(context, listName, columname)
    

ContentTypeUtility (SpproFramework.Utilities.ContentTypeUtility)

static void CreateContentType(ClientContext context ContentType parentContentType, string contentName, string description, string contentGroup)

  • Creates a SharePoint Site Content Type

Clone this wiki locally