viewIds: Provide the list of views that need to be available for lookup dialog.

Consider, an example where we need to open html webresource, on html page there will be a textbox and button to select the contact. When user click on “Select Contact” button, the lookup dialog of contact will gets open which allows user to select contact.

Steps need to follow:

1. We need to create html page with textbox and “Select Contact” button.

4. Now when we click on the contact lookup button it will open the “Contact Details” html page.

5. This html page consist of a textbox and “Select Contact” button. When user click on the button, lookup dialog with default entity and default view provided in parameters of lookupObjects method gets open.

6. In UCI or Mobile app it opens the lookup dialog as shown in below screenshot.

Conclusion:

Using the new feature introduced in Microsoft Dynamics 365 user can show lookup dialog using Xrm.Utility.lookupObjects method.

With a Silver competency and cumulative experience of 30 years, Inogic has earned the recognition as a Microsoft Dynamics CRM solution provider. Our team creates a better future for businesses spread across various industrial sectors. We are not only the innovators for CRM add-ons like Maplytics™(Certified for Microsoft Dynamics) and InoLink but also provide back office support for our partners. Read more about us.