You need to sign in to do that
Don't have an account?
Eddie Grissett dev
error installing dreamhouse app
I get the following message trying to install the DreamHouse app:
This app can't be installed.
There are problems that prevent this package from being installed.
Custom Field Definitions(00N6A0000098lS8) Duplicate RelationshipNameThe relationship name "Favorites__r" is already used by custom field Favorite__c.Property__c. Please rename existing relationship name.
How do I fix this?
Thanks,
Eddie
This app can't be installed.
There are problems that prevent this package from being installed.
Custom Field Definitions(00N6A0000098lS8) Duplicate RelationshipNameThe relationship name "Favorites__r" is already used by custom field Favorite__c.Property__c. Please rename existing relationship name.
How do I fix this?
Thanks,
Eddie
I am new to Salesforce. Do you know how to find and rename that field?
I have the same problem :(
Somebody have a solution ?
You can do one of two things:
1. Create a new Playground and install.
2. Delete the existing custom objects.
#1 is recommended.
This app can't be installed.
There are problems that prevent this package from being installed.
Custom Field Definitions(00N460000056uzN) Duplicate RelationshipNameThe relationship name "Favorites__r" is already used by custom field Favorite__c.Property__c. Please rename existing relationship name.
Custom Field Definitions(00N460000056uzO) Duplicate RelationshipNameThe relationship name "Favorites__r" is already used by custom field Favorite__c.User__c. Please rename existing relationship name.
Custom Field Definitions(00N460000056uz5) Duplicate RelationshipNameThe relationship name "Properties__r" is already used by custom field Property__c.Broker__c. Please rename existing relationship name.
I deleted the Favorite object and cannot find the relationship and don't know how to proceed.
Error:
The relationship name "Favorites__r" is already used by custom field Favorite__c.Property__c. Please rename existing relationship name.
The fix:
In my regular playground I went to the Favorite object and changed all references with Favorite in, including the object name, adding 'prop'; API became Favoriteprop__c, singular = Favoriteprop, plural = Favoritesprop.
I then went to Property object and did the same; object name = Propertyprop, API = Propertyprop__c, singular = Propertyprop, plural = Propertiesprop.
I went back to the new Favoriteprop object, clicked on Fields and Relationships, opened up the Property field label and changed the master-detail options to reflect the changes, with it now being Related to: Propertyprop. (and added 'prop' to any remaining unchanged 'favorite' or 'property' references)
I then tried the installation of the DreamHouse app and it worked, which created new Favorite and Property objects (hence the clash). The installation was deemed a success and I got my badge. I have no idea what the impact will be on the objects I changed, but I may never find out if they were for an old one-off exercise.
I hope this helps!
*I found that if you already finished the "Admin Beginner" trail and decide to follow his 2nd step (deleting the existing custom objects), you may have to delete the "offer" custom object before you can delete the "Property" custom object.*
There was a module in the Admin Beginner trail that tied the two custom objects together.
Good luck Trailblazers!
Hi, basically all that is necessary to do is to rename the existing objects like in the following example
- Favorite__c to e.g. Favorite2__c
- Property__c to e.g. Property2__c
and field references. As destroyer has pointed out, there is one more field reference in the "Offer" object that has to be also renamed. Then the package can be successfully installed.The package is installing its own Property and Favorite objects.
I found the fix for this probelm. All you need to do is rename the two objects from object manager:-
- Favorite__c to e.g. Favoriteprop__c
- Property__c to e.g. Propertyprop__c
Once you are done with above step then you need to rename the master detail relationship field in Favorite object.Try to install the package once again.
If the issue persist then try to create a new trailhead playground (Drop-down option next to Launch buton).
I hope this helps.
Good luck Trailblazers!
''Hi All,
I found the fix for this probelm. All you need to do is rename the two objects from object manager:-
Favorite__c to e.g. Favoriteprop__c
Property__c to e.g. Propertyprop__c
Once you are done with above step then you need to rename the master detail relationship field in Favorite object.
Try to install the package once again.
If the issue persist then try to create a new trailhead playground (Drop-down option next to Launch buton).
I hope this helps.
Good luck Trailblazers!''
@eddie Can this be marked as solved?
@Jonathan A Fox , @bhanu chopra 6
Thanks - able to install the package now ..
Thanks. Error gets resolved and able to install package.
->search for favorite__c and click edit.
->edit the name to favorite2__c .
->do the same with property__c.
I went a different route and deleted the custom object and I can confirm it is gone, but i am getting the same error message (referencing Favorite__c
Go to Favorite Object, search for Proeprty field, edit the field and rename 'Child Relationship Name'.