Accessing Form Header Web Resource

Wednesday, September 14, 2016

Although this Help article states that with Microsoft Dynamics CRM 2016/Online “You can’t include a web resource in a form header or footer”, you certainly can. Sadly, form Footer Web Resource no longer display any content (as it did in version 2015). Form header displays content correctly, but adding it will spread the header fields all over the form width. If you are ok with the UI, you might want to access the header Web Resource programmatically via JavaScript. Maybe when a form attribute value changes, the Web Resource content should change dynamically. Unlike header attributes, which can...
no comments

Visible By Default – What Is It Good For?

Wednesday, October 14, 2015

Short answer: improving form performance & user experience, that’s what. Long answer: Since version 2011, major entity form elements (Control, Section, Tab) have the Visibility attribute added. This attribute, which is checked by default, determines if the form element will be visible to the user when the entity form loads. Why would you want to render some elements invisible when the form loads? Here are some common reasons: Conditional logic: The form has some business logic related process which requires displaying some elements according to the user actions, e.g, hide Government Id attribute if the user...