Domain separation issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2025 07:06 PM
while doing domain separation assignment,
I am getting the error while renaming the company name from MSP to 'Cloud Dimension' ,i am getting the below error 'invalid update' while doing the further investigation i found that the following business rule is throwing the error ;validate_only_one_primary;
code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2025 07:23 PM
what i understand from the code is that ,there can be only one primary company ,want to understand what is the logic behind this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2025 11:29 PM
Hello @Ketan Pandey , Ideally, there should be only one primary company configured in the system. As far as usage of Primary company is concerned, primary company is associated with default values such as banner image and banner text of the instance. If you go and modify the settings under System properties->my company and refresh the browser, you can see changed values reflected.
Regarding the error message, you instance seems to have more than one primary companies configured that is strange from the very first look. However, if this is your test instance, you can run background script (you can use
Regards,
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2025 12:51 AM
Doing the course now and there is indeed a second company in the lab instance also marked Primary called "Your name here". Deleting that solved the problem of renaming MSP to Cloud Dimensions.