Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

How to list certain properties in the FileListing template?

Vote:
 
The FileListing template gives an overview of a set of files uploaded to a given directory. So far so good. But the standard list only displays filename, size and date. I need the list to also display the 'title' and/or 'comment' attached to the file during upload through the File Management in EPiServer edit/admin interface. For some reason, retrieving these extra values are not as straight forward as getting eg. the FileName value (Container.Name, Container.Size etc.). Can anyone help me out here..? TIA
#17444
Sep 07, 2005 16:15
Vote:
 
Nobody who can explain why the API doesnt easily hand out 'file comment' data, or other of the inputs you can attach to a file, when you upload it via the File Manager in EPiServer..? I really need to extract this info, to make the FileListing pages more user-friendly.
#18217
Sep 09, 2005 13:49
Vote:
 
Hi there, The API provides access to the UnifiedFile object so you can access the properties you require something like this: <%#Container.UnifiedFile.Summary.Title%> <%#Container.UnifiedFile.Summary.Comments%> Cheers, Jeremy.
#18218
Sep 11, 2005 22:59
Vote:
 
Ah yes, the one method i haven't tried. Thanks.
#18219
Sep 12, 2005 9:53
Vote:
 
This doesnt work for me... is it a version problem? 4.30? right? /John
#18220
Sep 29, 2005 17:01
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.