Displaing Tags in DownloadList
Hello,
I'm tring to add a column to a DownloadList (table view) for showing the tags I've added to a document... how can I add it? clicking on the right to Tags gaves me
<sitefinity:FlatTaxonField ID="FlatFieldControl" DisplayMode="Read" runat="server" WebServiceUrl="~/Sitefinity/Services/Taxonomies/FlatTaxon.svc" AllowMultipleSelection="true" TaxonomyId="CB0F3A19-A211-48a7-88EC-77495C0F5374" TaxonomyMetafieldName="Tags" Expanded="false" ExpandText="ClickToAddTags" BindOnServer="true" />hello,
can anyone please help me on this?
Thanks
Paolo
I need exacly to do what you do in the Document & Files
heeeeeelpppppp ... anyone can give me a feedback please?
Hi Paolo,
There is a way to display tags for each document, however it involves custom code and is not so trivial. The steps you need to follow:
var pageId = App.WorkWith().Pages().Where(p => p.Title == "Documents").Get().FirstOrDefault().Id;var downloadList = new DownloadListView();downloadList.MasterViewName = "CustomMasterTableView";App.WorkWith().Page(pageId).AsStandardPage().CheckOut().Control().CreateNew(downloadList, "Body").SaveChanges().Done().Publish().SaveChanges();