SharePoint Integrator V4 - Online Help
SharePoint Integrator V4
Questions / Feedback?

AddContentType Method

Adds a new content type to the site.

Object Oriented Interface

public function doAddContentType($contenttype, $parentcontenttypeid);

Procedural Interface

insp_spsite_do_addcontenttype($res, $contenttype, $parentcontenttypeid);

Remarks

The site is specified by URL.

Before adding a new content type, specify the columns for the new content type in the Columns collection.

This method will return the ContentTypeId that SharePoint gives the new content type. The ContentTypeId may be used for further processing of this content type.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 4.0.6240.0