Hi,
I am trying to analyse the client side script behavior in the UCI. I have multiple custom views that have been created for the lookups and I have observed that the addCustomView() function doesn't seem to work at all, i.e. the custom view is not seen in the list of lookups and the new "Change View" button gets disabled in case this function is used.
Alternately, I also tried to use the lookupObjects function available in Xrm.Utility (https://butenko.pro/2017/11/22/microsoft-dynamics-365-v9-0-lookupobjects-closer-look/) but this doesn't seem to show the required filtering as well. Note that the lookups need filtering such that column from the related entity are used in the filtering condition i.e. linkentity needs to be used (hence customFilters can't be used). Please let me know if this code is deprecated, or if I am missing anything
Regards,
Anwesha