How to Create ChildAlbum(Image Library)
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
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";