However I use the following line of code to get a list of allowed child content type IDs (AllowedChildContentTypeIDs) which is a method of DocumentType.
This appears not to be working anymore and I wondered if any of you knoew what the prefered updated API version of this should be?
Umbraco V6.1.6 DocumentType.GetByAlias
Hello all.
I am trying to update an old package I created (http://our.umbraco.org/projects/developer-tools/screenmedia-speedy-content-creator) to work with the new API.
However I use the following line of code to get a list of allowed child content type IDs (AllowedChildContentTypeIDs) which is a method of DocumentType.
This appears not to be working anymore and I wondered if any of you knoew what the prefered updated API version of this should be?
Cheers
L
for the v6/v7 API you need to use
IContentType
for DocumentTypesbtw . that also works by alias
Thanks Kevin,
That did the trick
L
is working on a reply...