Hi,
Account and Contact entity can store multiple addresses in Entity called Address.
But this address entity contains field like city , county or country in free text format.
We dont want user to enter free text into these fields rather we want to give lookup option so that user can select address from existing masters.
So we tried creating new custom lookup datatype field in Address entity but it did not allow us to create. Also Microsoft confirmed that Address entity is not customizable for adding custom relationship to any other entity apart from Contact, Account.
Then i went through couple of URL and found that some people suggested to use javascript code to build some custom search on Text field.
So can anyone suggest better approach that we can follow , we don't want to create new custom entity for address , we wanted to use existing address entity only.
Below are couple URL that suggest creating custom lookup view using javascript but i think these custom lookup view can be associated with lookup field only . Am i right ?
https://mscrmtutorials.com/create-custom-lookup-view-using-javascript-in-d365-mscrm/
http://a2zcrmstuff.blogspot.com/2015/10/add-customview-dynamically-to-lookup.html
https://www.encorebusiness.com/blog/dynamics-crm-address-entity/
Thanks