This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



May 24, 2011, 11:32 PM
29 Posts

Rich text field not saving image

  • Category: Debugging
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags: Rich text,image
  • Replies: 2
Hi,
 
I add a garden variety rich text field to my xpage and bind it to my datasource. All works well, can add tables, emoticons etc.

However when I upload an image it appears to save, but dissapears after the session. The rest of the field is intact but now with a ? where the image is supposed to be.

How can i get the image to 'stick'?
 
I've searched the web and found other users have this problem but can't find a solution.
May 25, 2011, 10:30 PM
7 Posts
Re: Rich text field not saving image
Andy,
This is tricky, indeed, and very badly (NOT) documented. I had to find out myself by trial and error:
Go to the application properties in Designer, to the XPages tab, and on the bottom left, change the default for the combobox "server persistance": set it to "Keep only the current page in memory".
This would make ik work. 
Good luck 
Pascal 
May 29, 2011, 10:49 PM
29 Posts
Re: Rich text field not saving image
Hi Pascal, tried, didn't seem to work. I wonder if I need to restart the server or anything silly like that. Thanks anyway.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal