Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I am trying to get a list of allowed DocumentTypes at root using the ContentTypeService in my backoffice API.
ContentTypeService
But there is no method available to do this...
/Michaël
How about?:
var allowedAtRoot = Services.ContentTypeService.GetAllContentTypes().Where(x => x.AllowedAsRoot);
Aaaah ok I missed the part that id[] is not required.
Thanks!
No worries.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Get all allowed root Document types in backoffice using the API
Hi,
I am trying to get a list of allowed DocumentTypes at root using the
ContentTypeService
in my backoffice API.But there is no method available to do this...
/Michaël
How about?:
Aaaah ok I missed the part that id[] is not required.
Thanks!
/Michaël
No worries.
is working on a reply...