open lookup dialoge using js Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/open-lookup-dialoge-using-js/ Microsoft Dynamics CRM . Microsoft Power Platform Fri, 24 Apr 2020 14:32:22 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/04/cropped-Microsoftdynamics365-blogs.png?fit=32%2C32 open lookup dialoge using js Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/open-lookup-dialoge-using-js/ 32 32 176351444 Dynamics 365 V9 : New feature lookupObjects (Xrm.Utility.lookupObjects) http://microsoftdynamics.in/2018/01/16/dynamics-365-v9-new-feature-lookupobjects-xrm-utility-lookupobjects/ Tue, 16 Jan 2018 06:04:00 +0000 Opens a lookup control to select one or more items.Microsoft dynamics 365 V9.0 has enhanced many existing features in CRM online and has also introduced new features. Xrm.Utility namespace has also been enhanced with new feature like showProgressIndicator closeProgressIndicator and LookupObjects. Lets take an example creating new field in account “new_lookupfilter”  when write js on change...

The post Dynamics 365 V9 : New feature lookupObjects (Xrm.Utility.lookupObjects) appeared first on Microsoft Dynamics 365 Blog.

]]>
Opens a lookup control to select one or more items.
Microsoft dynamics 365 V9.0 has enhanced many existing features in CRM online and has also introduced new features. Xrm.Utility namespace has also been enhanced with new feature like

and LookupObjects.

Lets take an example creating new field in account “new_lookupfilter”  when write js on change of this field (if we enter ‘admin’ it will open an lookup dialog of contact entity and we can modify it i.e multi-select E.T.C )


Now  selected record can be set to any other field.
————————————————————————
function lookUpobjectTest() {
    // Set properties here
    var lookupOptions = {
        defaultEntityType: “contact”,
        defaultViewId: “{608861bc-50a4-4c5f-a02c-21fe1943e2cf}”, // GUID of the View
        viewIds: [“{00000000-0000-0000-0000-000000000000}”,
                        “{00000000-0000-0000-0000-000000000000}”,
                        “{00000000-0000-0000-0000-000000000000}”], // GUID of the View
        entityTypes: [“contact”, “incident”],
        allowMultiSelect: true
    };
    Xrm.Utility.lookupObjects(lookupOptions);
}
————————————————————————-

Hope this was Helpful. Thanks

SOURCE : https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/clientapi/reference/xrm-utility/lookupobjects

The post Dynamics 365 V9 : New feature lookupObjects (Xrm.Utility.lookupObjects) appeared first on Microsoft Dynamics 365 Blog.

]]>
2745