6/7/2025 6:21:40 AM
|
|
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!
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.
|
|
|
|
can't bind userfields
Posted: 26 Sep 13 12:32 PM
|
fiogf49gjkf0d Hi. I'm a newbie to SalesLogix web development, but have a lots of experiance in the LAN environment. Having a very basic problem and hope to get some help from the experienced web guys. I'm just trying to add a field to the Account Details form. My problem is when I try to bind the control (just a text box) to one of the acccount userfields, the userfields are not listed under the Main Entities "available datasource properties".
The userfields are checked as "inlcuded" when I look at the Account entities properties. Not sure if this is related, but I do see that the datatype is listed as "unspecified" for the userfields. When I look at those fields in the Database Manager, the type is listed as "Unicode String 80". Again, not sure if the data types might have anything to do with this or not. I have tried Building Intefaces and Building Web Platform, but neither had any effect.
Any ideas why these fields don't show when i try to use them to bind a control? Thanks in advance for any help - I don't ask for help lightly. I'm the guy that would rather drive around endlessly than stop and ask directions.
Thanks,
Robert |
|
|
|
Re: can't bind userfields
Posted: 26 Sep 13 2:01 PM
|
fiogf49gjkf0d Robert:
By Default, I believe that the User Fields are not Included on the Entity. This means that you would have had to go into the Account Entity and Check Include column.
Once that is done, you would need to "Build Interfaces". That said, pay attention to the Output window, make sure that there are no errors. Sometimes there are errors that don't generate a popup, and those errors cause the system to not generate updated Interface DLLs, thus the fact that you don't see the fields (even after a build is complete).
Regarding User Type, how are the fields defined on the DB? Do you have Unicode enabled for this Database? If they are Unicode on your Database, then set them as Unicode, otherwise keep them as Text.
Again, chances are that there are errors while Building the Interfaces, keep an eye out for them and scroll up the Output window to try to cath them. |
|
|
|
Re: can't bind userfields
Posted: 29 Sep 13 10:41 AM
|
fiogf49gjkf0d Thanks very much for the reply, Raul, and I think you've got me pointed in the right direction. When I run the Build Interface, I get no detailed messages, just a "Build Completed Successfully". However, when I run it with the control key held down, I get the detailed messages about building the entities, then this error:
ERROR - C:\Users\Administrator\AppData\Roaming\Sage\Platform\Output\interfaces\IAccount.cs(52,22):Invalid token '{' in class, struct, or interface member declaration
The same error is then repeated for all table. I found some posts about that error. Based on that info, I've gone through and made sure there are no display names in the DB Manager for any table or fields in the database. However, when I re-run the Build Interfaces (with control key held down), I continue to get the error. Are there any other possible causes for that error that you know of.
-Robert |
|
|
|
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!
|
|
|
|
|
|
|
|