Ok I have added two columns via SQL since you can't access the userinfo table from inside the Architect.
In Application Architect, I updated the userinfo properties and added the two new columns I created. built interfaces, added bound controls to user detail form and matched to the data .. user.unserinfo.myfield , this shows correctly in AA.
I added an onchange event some code to set the other field based on selection of first field. While typing code I get intellisense shwoing me the property of the field I added, however when running the application/web site and I go to the user detail form I get an error that
"A smart part associated with this page has failed to load: c:\inetpub\wwwroot\SlxClient\SmartParts\User\UserDetails.ascx(360): error CS1061: 'Sage.Entity.Interfaces.IUserInfo' does not contain a definition for 'EffectiveDate' and no extension method 'EffectiveDate' accepting a first argument of type 'Sage.Entity.Interfaces.IUserInfo' could be found (are you missing a using directive or an assembly reference?) "
I checked the .dll via reflector and sure enough the property isn't listed. I have deleted the build files, deleted the web site, removed and re-added the properties multiple times.. any one have an idea as to why it doesn't seem to build the entity dll correctly ..??
*** Just finished call with Saleslogix SDK support -- being told that the default functionality of Salelogix is to NOT allow modification to the userinfo table. I am guessing that I'll need another table to work from rather than adding two fields to the userinfo table. ***
** NEW UPDATE -- Created new table in Architect, made it available to the web client, created relationship between new table and user entiy. All intellisence works correctly as before, SAME ERROR GENERATED.. **
Back to square 1
|