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:

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?

Next article

Retrieve child items