Answered by:
CRM 2011: Highlighting a field

Question
-
We have a field label that we were thinking of highlighting for a code. Is it possible to do this?
Example would be TotalCharges, we would want it to be highlighted in Red if it meets a certain criteria. Is this possible to do?
Monday, April 6, 2015 5:58 PM
Answers
-
Hello,
This functionality is only available with Outlook CRM. However there is a blog which can help you achieve this but please note that this is an unsupported customization.
https://faisalimran.wordpress.com/2010/12/07/change-the-grid-cells-color-in-ms-crm-4-0/
Regards, Abhishek Bakshi If you find this post helpful then please Vote as Helpful and Mark As Answer. Check my blog on https://mydynamicscrmblog.wordpress.com/
- Marked as answer by wsilage Tuesday, April 7, 2015 2:31 PM
Monday, April 6, 2015 11:01 PM -
You can achieve through DOM. Try below.
document.getElementById("new_test_c").style.backgroundColor = 'red'; document.getElementById("new_test_d").style.backgroundColor = 'red';
Please note: This is unsupported way. In CRM we dont have any supported way to change.
Thanks!
Kalim Khan
- Marked as answer by wsilage Tuesday, April 7, 2015 2:31 PM
Tuesday, April 7, 2015 7:48 AM
All replies
-
Hello,
This functionality is only available with Outlook CRM. However there is a blog which can help you achieve this but please note that this is an unsupported customization.
https://faisalimran.wordpress.com/2010/12/07/change-the-grid-cells-color-in-ms-crm-4-0/
Regards, Abhishek Bakshi If you find this post helpful then please Vote as Helpful and Mark As Answer. Check my blog on https://mydynamicscrmblog.wordpress.com/
- Marked as answer by wsilage Tuesday, April 7, 2015 2:31 PM
Monday, April 6, 2015 11:01 PM -
You can achieve through DOM. Try below.
document.getElementById("new_test_c").style.backgroundColor = 'red'; document.getElementById("new_test_d").style.backgroundColor = 'red';
Please note: This is unsupported way. In CRM we dont have any supported way to change.
Thanks!
Kalim Khan
- Marked as answer by wsilage Tuesday, April 7, 2015 2:31 PM
Tuesday, April 7, 2015 7:48 AM -
Thanks Kalim. Can you just change the Label name instead of the field itself? Example would be Label name is BeatThis and the field name would be dhc_beatthis.Tuesday, April 7, 2015 3:01 PM
-
Hi wsilage,
Try this, it did the trick for me.
document.getElementById('labelForImageUploadID').style.color = "black";
Jugal Kishore Dandamudi.
Wednesday, April 8, 2015 4:43 AM -
This would work, but it isn't working for me for some reason. Where do I add my field label called BeatThis at?
document.getElementById('labelForImageUploadID').style.color = "black";
Wednesday, April 8, 2015 1:15 PM -
Replace "labelForImageUploadID" with your fields schema name.
Jugal Kishore Dandamudi.
Thursday, April 9, 2015 9:13 AM