Is it possible to save binary data in a MCMS placeholder?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Is it possible to save binary data in a MCMS placeholder?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Is it possible to save binary data in a MCMS placeholder?  
egholm@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-22-07 12:16 AM

Hey

In my OnSavePosting method, I create an image via GDI and I want that
new image to be saved in a MCMS placeholder as binary data. I have
tried to use the ImagePlaceholder, but it only has a property called
Src to save content, and the problem is that the picture dosen't exist
physical on a disc. Is it possible to save the image as binary data
somehow in the MCMS or do I have to save it as a BLOB type in an
external database?






[ Post a follow-up to this message ]



    Re: Is it possible to save binary data in a MCMS placeholder?  
Stefan Goßner [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-23-07 06:19 PM

Hi,

you need to upload the binary data using CmsContext.AcceptBinaryFile.
Then add a link to this uploaded file in the image placeholder.

Cheers,
Stefan


<egholm@gmail.com> wrote in message
news:1177183327.394657.141250@n76g2000hsh.googlegroups.com...
> Hey
>
> In my OnSavePosting method, I create an image via GDI and I want that
> new image to be saved in a MCMS placeholder as binary data. I have
> tried to use the ImagePlaceholder, but it only has a property called
> Src to save content, and the problem is that the picture dosen't exist
> physical on a disc. Is it possible to save the image as binary data
> somehow in the MCMS or do I have to save it as a BLOB type in an
> external database?
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:11 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register