Skip to content

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

http://feedproxy.google.com/~r/LinnZawWin/~3/hzOeT2b_5zU/lookups-showing-same-custom-view-in.html

Blog Syndicated with noreply@blogger.com (Linn Zaw Win)’s Permission

Leave a Reply