More in this section
Forums / General Discussions / How to Create ChildAlbum(Image Library)

How to Create ChildAlbum(Image Library)

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Ajay
    Ajay avatar
    46 posts
    Registered:
    14 Nov 2013
    11 Jun 2014
    Link to this post

    Hi All,

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

    Album1   

        Album1.1   

       Album1.2

      I'm Creating Album1 using this link , 

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

    Thanks in Advance

  2. Elena Ganeva
    Elena Ganeva avatar
    36 posts
    Registered:
    09 Dec 2016
    12 Jun 2014
    Link to this post

    Hello Ajay, 

    You can create the child albums as described here:

    http://www.sitefinity.com/documentation/documentationarticles/creating-folders

    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";



    Regards,
    Elena Ganeva
    Telerik
     
    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
     
2 posts, 0 answered