Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, June 8, 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: "String was not recognized as a valid Boolean"
Rafael S.
Posts: 66
 
"String was not recognized as a valid Boolean"Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Sep 11 12:38 PM
fiogf49gjkf0d

Hi Guys!


New in SalesLogix Web, im trying to do a simple thing: create a checkbox, in the contact details form... and in the "databind" property of this checkbox, select the name of the field in database, where the information will bre saved. But i tryed all ways and things, and when i "build", everytime gives me this error "String was not recognized as a valid Boolean."...Someone knows what im doingo wrong?


 


thanks!!


 


Rafael S.

[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: "String was not recognized as a valid Boolean"Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Sep 11 1:01 PM
fiogf49gjkf0d

You have to update the Entity.


The SLX Boolean fields are actually define as char(1) on the Database.


When you add the field onto the Entity, SalesLogix brings it in as a String.


You need to Edit the Entity and change the Field to a TrueFalse type instead.


 


The cause of the Error is that, as a String, the Field returns a "T" or "F" to the Control when binding.


If defined properly, it returns "True" or "False", which is what the checkbox is expecting.

[Reply][Quote]
Rafael S.
Posts: 66
 
Re: "String was not recognized as a valid Boolean"Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Sep 11 1:44 PM
fiogf49gjkf0d

Raul, you´re the man!!!Cool Worked perfectly!!! Thanks so much!!


 


 

[Reply][Quote]
Zane
Posts: 2
 
Re: "String was not recognized as a valid Boolean"Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Apr 13 5:11 PM

Thanks for this, I have just added 2 fields on a custom form in SLX 8.0 app architect, and I can't see where to set the true/false type...


I must be blind!


Can you please enlighten me? I must have done it prevviously as the form is full of checkboxes!


 


Cheers


 


Zane

[Reply][Quote]
Zane
Posts: 2
 
Re: "String was not recognized as a valid Boolean"Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Apr 13 6:10 PM

FYI for those who are like me and prone to forget:


http://slxtraining.net/tag/truefalse/


 

[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/8/2025 7:49:18 AM