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.

7 comments:

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

    ReplyDelete
  2. Wow! Great post! The content is very rich, and I really like it. It help me very much to solve some problems. It is very helpful for all the people on the web. Thanks a lot. Ecommerce Product Photography || Ecommerce Product Photoshoot || Products Catalogue

    ReplyDelete
  3. Wow! Great post! The content is very rich, and I really like it. It help me very much to solve some problems. It is very helpful for all the people on the web. Thanks a lot. Ecommerce Product Photography || Ecommerce Product Photoshoot || Products Catalogue

    ReplyDelete
  4. Click this link to get a 100% working product key: www.motionkeys.com.

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

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

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

    ReplyDelete

My Name is..