I'm reposting my Stack Overflow 
[url=http://stackoverflow.com/questions/34769503/create-asset-in-magnolia-programatically]question[/url]
 here as well:

We're developing a Magnolia Blossom / Spring app where the [i]end user[/i] 
needs to upload an image at some point. So we're considering storing these 
images as assets in Magnolia.

However, with the uploaded MultipartFile ready at the Spring controller level, 
I haven't yet found a successful way to store the uploaded image into a 
Magnolia asset.

I imagine there should be some easier way to [i]programatically[/i] (i.e. Java 
code) create an asset in Magnolia when, for example, by some means, you have 
just the bytes of a PNG / JPEG.

Has anybody done this before?

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=8a22aaec-21e8-487a-b0ee-319409bd4fdb


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to