Announcements
No record found.
Hi All,
Reuest your help to create lookup using code with using metadataid.
You cannot directly create a lookup field using code, you should create OneToMany relationship instead.
Check the sample code here: https://docs.microsoft.com/en-us/previous-versions/dynamics-crm2011/developers-guide/gg327589%28v%3dcrm.5%29
Hope it helps!
Kim Anh
Hi Anh,
Thank you for your reply.
I have created lookup field using GUI in development instance but i can not take this field in solution migration in other crm instance( Quality or staging server). so i would like to create with same guid of lookup field or relationshipid of development instance in other crm instance.
Hi,
You should be able to transfer that lookup. there should be no need of creating it manually in quality and staging.
Is there any error?
Hi
There is some issue and not sync with all instance.
so I can not migrate any field from once instance to another. so I would like to create manually with same guid reference.
Is there any idea about it.how can we create lookup field with same guid reference.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 101 Super User 2026 Season 1
11manish 72
Muhammad Shahzad Sh... 69 Most Valuable Professional