Breaking news from around the world
Get the Bing + MSN extension
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | View virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
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
Thank you for the bug report. This API is supported and we are tracking this failure internally.
Thanks for letting me know, in addition to this API, the setShowTime() API doens't work either, and setHours() on Date time field doesn't work.
Having same issue, posting to monitor responses...
I have managed to get formContext.getControl("attributeName").addCustomView(viewId, entityName, viewDisplayName, fetchXml, layoutXml, true); to work. My issue was I am using a fetchXML statement and I had a space at the beginning of the fetchXML statement. I removed the space and it works.
var fetchXml = " <fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='true'> " fix with var fetchXml = "<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='true'> "
Business Applications communities