November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
// Get the directory
UnifiedDirectory directory = (HostingEnvironment.VirtualPathProvider.GetDirectory("~/periodicals/") as UnifiedDirectory)
// Get the files in that directory
UnifiedFile[] files = directory.GetFiles()
// Get values from the FileSummary on an individual file
string author = files[0].Summary.Dictionary["Author"].ToString();
Hope this helps.
Very grateful. That's the lead-in I needed. Thanks. Now to just get the javascript working!
I'm at a loss as how to start into this one as I've not found any clues in the SDK's framework reference.
I have a number of images uploaded to Global Files/somefolder and want to loop through the 'somefolder' to create paths to the image and grab the Description property from the image's summary if a publisher has provided it. This information will be collated in to a config string for a javascripted image gallery presenter on various pages.
That's what I want to do: Any pointers on how I read through the Global Files area, its subfolders, and the images would be appreciated.
TIA