How to Create ChildAlbum(Image Library) - General Discussions - General Discussions - Progress Community
 General Discussions

How to Create ChildAlbum(Image Library)

  • How to Create ChildAlbum(Image Library)
  • Hi All,

    I need to crate image libraries (through Coding) as following format




      I'm Creating Album1 using this link , 

    How to Create Child Album(Album1.1,Album1.12) 

    Thanks in Advance

  • Hello Ajay, 

    You can create the child albums as described here:

    Just use the CreateFolder method of the LibrariesManager:

    //creates a folder under the album
    var folder = manager.CreateFolder(imagesAlbum);
    folder.Title = "FolderTitle";
    folder.Description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.";
    folder.UrlName = "FolderName";

    Elena Ganeva
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items