API Questions on Kentico API.
Version 6.x > API > MetaFileInfo View modes: 
User avatar
Certified Developer 8
Certified Developer 8
Atul Patel - 9/23/2013 5:24:27 AM
   
MetaFileInfo
Hi,

I am using file uploader control of kentico version 6.0. When i save the file, i used MetaFileInfo to generate image url but i cannot generate the image url.
Can you please tell me the table name where this metafile info is stored?


Thanks,

Atul Patel

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 9/24/2013 3:45:59 AM
   
RE:MetaFileInfo
Hello,

The information is stored in CMS_MetaFile table. You should be able to get the image, if you know its GUID, by composing the URL to this format:

/CMSPages/GetMetaFile.aspx?fileguid=1b5f8c05-eaf0-4c01-913e-d1b42a2f07ec


Where you will replace the GUID with your actual GUID.

Best regards,
Juraj Ondrus