Dynamic module manager

Sitefinity CMS provides methods on Manager level that are not exposed in the Hierarchical types API:

  • To get the child items of list of items from specified type, use the following method: IQueryable<DynamicContent> GetChildItems(List<Guid> ids, Type childType = null) 

    If the child type is null, the method returns a collection for all child types.

  • To gets the successor items for collection of parent item IDs by child type, use the following method: IQueryable<DynamicContent> GetItemSuccessors(List<Guid> parentIDs, Type childItemsType, Type parentItemsType) 

    The child type does not need to be a direct child of the current parent item.

For more methods provided at Manager level, use the following articles and the examples provided with each article:

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?

Next article

Retrieve child items