Get Library Name into the Download List Template

Posted by Community Admin on 03-Aug-2018 18:26

Get Library Name into the Download List Template

All Replies

Posted by Community Admin on 22-May-2015 00:00

Is it possible to get the library name where the documents are stored in the Download List widget? 

Posted by Community Admin on 08-Jun-2015 00:00

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")%>' />

or using a simple Label:
<asp:Label runat="server" ID="LibraryTitleLabel" Text='<%# Eval("Parent.Title")%>' />

Hope this helps.

Regards,
Nikola Zagorchev
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
 

Posted by Community Admin on 18-Apr-2017 00:00

In case, if you need solution for Feather "Documents list" widget. You can receive library name like that:

@item.Fields.Parent.Title

 

This thread is closed