Lookups Showing Same Custom View in Unified Interface because of Same viewId in addCustomView JavaScript
Recently in one of my Dynamics 365 projects, I had to filter the lookup using JavaScript because of the nature of the filter which cannot be achieved using OOB filter.
I just simply write the following code to filter and set the viewId by generating some random GUID as set a static value.
var viewId = "c83ee442-91d4-4b47-bb1b-92523c80e06b"; // Random GUID
var entityName = "contact";
var...
Continue Reading noreply@blogger.com (Linn Zaw Win)’s Article on their blog
Lookups Showing Same Custom View in Unified Interface because of Same viewId in addCustomView JavaScript
Recently in one of my Dynamics 365 projects, I had to filter the lookup using JavaScript because of the nature of the filter which cannot be achieved using OOB filter. I just simply write the following code to filter and set the viewId by generating some random GUID as set a static value.
Blog Syndicated with noreply@blogger.com (Linn Zaw Win)’s Permission
More About This Author
Array
- Dyn365CE4 March 2024Open New Record Form with Pre-populated Fields Using Xrm.Navigation.navigateTo
- Dyn365CE23 February 2024How to Fix Button in Modern Command Bar Disappearing After Grid Item Selection
- Dyn365CE16 February 2024Keep Your Dataverse Solution Clean and Simple
- Dyn365CE7 February 2024Refresh Main Form When New Child Row is Added in Subgrid via Quick Create Form in Model-Driven App