4

Some developers when syncing with their server have this xml in the custom object, others have nothing (not true, just no tag). Anyone know what causes this.

When we go to: Customize | Search | Search Settings

our objects dont have it checked.

Not sure what would cause sf.com ide to sync false in one case and nothing in the other.

  • The only workaround we have found is to set it, then sync, then unset and sync again, then we end up with false vs nothing... ugh – Joelio Aug 26 '13 at 19:38
1

Unless explicitly enabling/disabling the enhanced lookup preference, Salesforce doesn't set any value to the enhanced lookup preference to a custom entity object. And if a custom entity object doesn't have a value to it, it is omitted when retrieving the custom entity object through metadata API. So you will not see the enableEnhancedLookup field in the retrieved object's metadata file by default.

On the other hand, when deploying a custom entity object, Salesforce explicitly sets a boolean value to the enhanced lookup preference even if the enableEnhancedLookup field is not specified in the deploying object's metadata file. It has the custom entity object have a value of the enhanced lookup preference. That's why you see the enableEnhancedLookup field in the object's metadata file when you retrieve it.

  • Thanks, I think this is a bug, it should either be there or not, this sort of thing makes team development a nightmare. – Joelio Oct 3 '13 at 13:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.