Using CMSDesk and click on the Tools tab, then Media Library I can add files to the inbuilt Kentico Media Library. Is there a way to do this using their API?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do this using the Kentico API. It is actually quite rich but the documentation and samples out there are a bit lacking.
Following is a sample method (actually used as a web service method as we have both remote and local pages that use it) and a sample method that calls it (say from an ‘edit’ web page).
fileLogo – > protected System.Web.UI.WebControls.FileUpload fileLogo;