i am working on deploying the metadata to another org. but while deploying the page-layouts i am getting following error on Contact object layout :

layouts/Contact-Contact Layout.layout -- Error: duplicate value found: <unknown> duplicates value on record with id: <unknown>

i checked all possible solutions on stackexchange but they all with custom objects and this is standard object. what should i do?

  • Have you looked at known issue success.salesforce.com/issues_view?id=a1p30000000T5hTAAS and tried workaround mentioned there. – Mukesh Verma Sep 2 '16 at 11:04
  • yes already checked that out but thats also for custom object. and i am getting for standard object. – patelkiran3090 Sep 2 '16 at 11:06
  • I feel you should not divide this problem into standard or custom objects. As even standard object can have custom fields. Are you sure that you don't have any custom fields/history tracking/lookup filters involved. Have you tried deploying contact layout separately. – Mukesh Verma Sep 2 '16 at 11:13
  • yes i have custom fields and yes i tried doing it separately also and i disabled the history tracking also. – patelkiran3090 Sep 2 '16 at 11:18

Hey guys this error is gone when i enable the chatter option in my target org. check if chatter option is enable in target org if not enable and then try.. i just enable it for other thing and then at last i tried again deploying layout and it deployed successfully.

| improve this answer | |
  • nice find... .. – sf_user Sep 2 '16 at 14:18
  • worked for you too? – patelkiran3090 Sep 2 '16 at 14:18
  • I didnt try.. but if it resolved for u .. i will keep this in mind if I run into any similar issue in future :) – sf_user Sep 2 '16 at 14:19
  • yehh sure... spent almost 6 hours for this... – patelkiran3090 Sep 2 '16 at 14:20
  • i was resolving my other problem that also i posted here on this link : salesforce.stackexchange.com/questions/139335/… and with one thing i solved my two problems. – patelkiran3090 Sep 2 '16 at 14:22

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.