Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, June 30, 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: Value cannot be null when adding a new relationship
Stephen Kennedy
Posts: 37
 
Value cannot be null when adding a new relationshipYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 May 10 10:47 AM
I created a new id field in the Account table using database manager. I'm trying to add a New Relationship under Child Properties under Account to the new id field. This id field is meant to be of type "user" so I try to relate my new id to the type USER (userid). I've done this many times in the past succesfully. Today, it seems like I cannot create any relationships under Child Properties under Account. I get this error:

===================================
An application exception has occurred.
===================================

Value cannot be null.
Parameter name: value (Sage.Platform.Projects)

------------------------------
Program Location:

at Sage.Platform.Projects.Localization.ProjectResourceSet.OnAddResource(String name, Object value)
at Sage.Platform.Projects.Localization.ProjectResourceSet.AddUpdateResource(String name, String value)
at Sage.Platform.Projects.Localization.ProjectResourceManager.AddUpdateResource(String name, String value)
at Sage.Platform.Orm.Entities.OrmEntityProperty.set_DisplayName(String value)
at Sage.Platform.Orm.Entities.OrmRelationship..ctor(OrmEntity parentEntity, OrmEntity childEntity, String cardinality, OrmEntityProperty parentProperty, OrmEntityProperty childProperty, CascadeOption cascadeOption)
at Sage.Platform.Orm.Entities.OrmEntity.CreateChildRelationship(OrmEntity child, String cardinality, OrmEntityProperty parentProperty, OrmEntityProperty childProperty, CascadeOption cascadeOption)
at Sage.Platform.AdminModule.EntityModel.EntityModelCommands.NewRelationshipCommand(Object sender, EventArgs args)


Any help would be appreciated.

Thanks -Steve
[Reply][Quote]
Nick Hollis
Posts: 549
Top 10 forum poster: 549 posts
 
Re: Value cannot be null when adding a new relationshipYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 May 10 11:30 AM
Are all the properties of the relationship filled in correctly? Can you try adding a dummy relationship from another field to a different entity altogether just to ensure it is not a AA problem? If you cant I would try doing a full RE-Build of the platform, and try again...

Thanks,
Nick
[Reply][Quote]
Stephen Kennedy
Posts: 37
 
Re: Value cannot be null when adding a new relationshipYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 May 10 1:55 PM
Ah... Thanks.

Seems like there was something wrong with the USER Entity. When I opened it and went to the SDATA tab, I got some bizzaro error. I also noticed that the Plural Display Name field on the USER Entity was blank. I filled in "Users". I also noticed that the Track History To: field was blank. I selected "None" from the dropdown. After that, when I went back to the SDATA tab, I didn't get the bizzaro error. I immediately tried to create the relationship again, and it worked. So seems like something was wrong with the the USER Entity.

Earlier, I had tried to make some other changes (full rebuild, clean project recycle bin, etc). None of those seemed to immediately fix the error. But maybe, between those changes and the ones I just made to the USER Entity in combination fixed it. Can't be sure.
[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/30/2025 10:10:26 AM