Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: Bug for CreateContentType

$
0
0

Hi,

I had some problems with CreateContentType. It looks like both the CreateContentType and UpdateContentType are mapped twice with the same name, once for the list and once for the webs web service. Is this a bug or is it just me being tired? :-)

WSops.CreateContentType	= [LISTS, true];
WSops.CreateContentType	= [WEBS, true];
and 

// LISTS OPERATIONScase"CreateContentType":
	addToPayload(opt, ["listName", "displayName", "parentType", "fields", "contentTypeProperties", "addToView"]);break;// WEBS OPERATIONScase"CreateContentType":addToPayload(opt, ["displayName", "parentType", "newFields", "contentTypeProperties"]);break;
/Fredrik


Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>