Get Library Name into the Download List Template
Is it possible to get the library name where the documents are stored in the Download List widget?
Hello Hector,
You can show the item library Title in the widget item template the following way:
<
sitefinity:TextField
runat
=
"server"
DisplayMode
=
"Read"
Value='<%# Eval("Parent.Title")%>' />
<
asp:Label
runat
=
"server"
ID
=
"LibraryTitleLabel"
Text='<%# Eval("Parent.Title")%>' />
In case, if you need solution for Feather "Documents list" widget. You can receive library name like that:
@item.Fields.Parent.Title