Sitefinity 3.7 - How to get the Title of a Library Item
Hi,
Seems like an easy thing, but I can't seem to figure it out. I am using this to get the library:
LibraryManager libraryManager = new LibraryManager();
var lib = libraryManager.GetLibrary(libraryName);]
if (lib != null)
IList items = lib.GetItems();
foreach (IContent item in items)
//I need item.Title here
I tried item.GetMetaData("Title") but that doesn't work.
Thank you
Edit: Nevermind. This was a data sync issue