Blog, Development

How to make 9.0 Classic Client a bit cleaner – 2

In one of my previous posts I played with layout of new WebClient. Idea of this post I got from question was asked on CrmUG forum – is it possible to remove big gray areas under sections? I played a bit and found a way:

Add following code to run on form load and that should do the trick.

function reformatForm() {
    try {
		parent.$(".ms-crm-Form-Empty-Grey-Filler").css("background-color", "#FFFFFF");
    } catch (e) {
 
    }
}

Here is comparison between layout without and with code applied:

2 Comments

  1. Andrew,

    Do you know how to get adal.idtoken of the logged user in CRM Online?
    I have a JavaScript webresource in CRM, and it needs to call external WebApi based Server with AAD authentication.
    I don’t wont to use ADAL.js, since it requiring an iframe/html page.

    Any help will be greatly appreciated.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.