6/30/2025 9:29:00 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.
|
|
|
|
Value cannot be null when adding a new relationship
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
|
|
|
|
Re: Value cannot be null when adding a new relationship
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 |
|
|
|
Re: Value cannot be null when adding a new relationship
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. |
|
|
|
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!
|
|
|
|
|
|
|
|