Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, June 3, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Select and save an image to user table
Lee Harris
Posts: 23
 
Select and save an image to user tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Mar 15 11:16 AM

Hi,


I have a custom blob field in the table WebClientUserInfo which I am trying to store an image in, with the intention of then using this image during a mail merge.


I need to be able to open a file browser dialog and select an image file from the user details screen and then save the selected image against that user (a bonus would be displaying the current saved image on the user details screen).


So far, I have managed to create the select file dialog by appending an input (type=file) element into the DOM on the client click of a button on the form. On selection of a file in the dialog, this element then contains a .files array with the selected file object.


I now need to save the file to the custom field and that is where i'm stuck. How can I...


(a.) pass the file from the client script to the server 


(b.) read the file object if necessary and save it to the custom field


Or if there is a better, simpler way to do all this then im open to suggestions.


Regards,


Lee

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/3/2025 7:18:49 AM