Sunday, 4 May 2014

CRM 2013 Remove Locked Field in the Header

Sometimes, when you work with Quote or Opportunity, you are going to replace some field in the header to other fields that is more important and necessary for your customer business information and analysis.

Here, I give Quote as example.
My customer seems does not need the “Effective from” and “Effective to”

image

Those fields actually can be replaced to other fields, such as Total Discount, Price List or whatever more informative field.
Then, when you try to go form and want to remove those two fields, you would be given an error :

image

Then, you are aware that those fields cannot be removed, so first what you can do to fulfill what user wants to see more important field in the header is by adding those fields into form, like this :

image

Then, you publish it.

Well, it will work, but you will not be longer to see that default header tiles that more beautiful in this Quote Form, because when you see it, your header would be having 6 fields, which is more than 4 fields, see this :

image

Then, where is that beautiful header tile?
Okay, please take a look in the header at form editor when you add new field after that 4 default fields, there is a warning block :

image
Then, you try to manipulate the screen by doing un-thick the visible by default, before that you move down those two fields to the second row :
image

Then, we see the result, can it?

image

Okay, that seems better and looks simpler, rather than having two columns, congratulation you have done what the user requested, to show the Net Selling Price and Price List fields that they feel are more important.

But, you also want to cater a good UI for them, right? Then how?

Okay, this is the resolution :

1. Add those two fields into a section (later you can hide the section if you really do not need this section)

image

2. Then go to Header, then now look, you can remove those fields, then that warning block was disappeared now

image

3. Then publish

Here you go :

image

The conclusion is :


As long as you have the field in the Form (Header or Body – not applied for Footer), you can remove the field from another area each other. To control your header UI as tiles type, you should have no more than 4 fields in the header, you cannot use the ‘visible by default’ method to reduce your field number by hiding it, but in the body, you can control easily.

I believe this will also work for other Updated Entity Form that can have header tiles, such as Opportunity and Order.

To know what entities that its form has been refreshed, you can refer to this table :

image

Hope it helps!
Thanks.

6 comments:

  1. Awesome man, very helpful just helped me thanks!

    ReplyDelete
  2. Yes, setting the "visible by default" prevents it from bugs of over sizing or etc. drupal development

    ReplyDelete
  3. Excellent article...to make movies visit Rave Films Production

    Corporate Film Production || Best Corporate Video || Ad Film Production

    ReplyDelete
  4. Thanks so much, still helping people in 2020 and on...

    ReplyDelete
  5. These days, tablets, computers and Smartphones run our lives, but in a short time, the market has exploded with technology more than most people can imagine and to the point that they cannot imagine being without it. To understand the evolution of this technology from the dark ages to today, you should began with understanding how it evolved. Technology was born out of a purpose. An example would be in the creation of search engines, which are used to sift through all the massive quantity of online data. schlüsselnotdienst 24h

    ReplyDelete

My Name is..