Identify different environments
-
2012년 5월 15일 화요일 오후 8:17
Hello,
I need a way to identify different environments. For example: Production vs Quality Vs Development using both text and color in the dynamics screen toolbar.
Something like the following:
Anyone has any ideas on how I can do this ?
모든 응답
-
2012년 5월 15일 화요일 오후 10:49
Hi,
You can change colors in the forms by havinf css web resources.
What you are looking for is unsupported. You can change the colors by modifying the CRM core css files.
Please go to your Dynamics CRM (I am assuming you have CRM 2011) installation folder. There go to the styles folder.
In my case the folder location is: "C:\Program Files\Microsoft Dynamics CRM\CRMWeb\_common\styles". There you will see the file "global.css". Change the CSS there (give the color there). That will do the trick, but it should be unsupported. In future releases or Roll Up updates, the "global.css" file can get replaced and updated. This will replace your changes and again you will have to do your color changes.So it is definitely unsupported, but in case you are going to make the color change, take a backup of this file and document your changes.
I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful.
Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
- 답변으로 제안됨 Ashish Mahajan Australia (Architect) 2012년 5월 15일 화요일 오후 10:49
- 답변으로 제안 취소됨 aruizmorales 2012년 5월 17일 목요일 오후 6:22
- 답변으로 표시됨 aruizmorales 2012년 5월 23일 수요일 오후 3:01
-
2012년 5월 15일 화요일 오후 10:50
I think there is no customization that would support that type of change, as you are looking to overrid a specific stylesheet entry off main.aspx. The style you are looking to override would be Div.ms-crm-TopBarContainerGlobal which is in them.css.aspx.
You could also look into creating a plug in that changes the above style if you load the page ...
Hope that helps some.
--jerry
-
2012년 5월 16일 수요일 오전 7:16중재자
Although the above posts have useful information, I don't think they'll form a complete answer:
- The problem with changing css or similar files (other than the fact it's unsupported), is that this would apply to all organisations on the same deployment.
- Plugins can modify data, but not user interface components
Another (again unsupported) approach could be to create and register an HttpModule that could intercept the web requests, and modify the results of either the .css or .css.aspx responses, based on the organisation the request is for
Microsoft CRM MVP - http://mscrmuk.blogspot.com http://www.excitation.co.uk
- 편집됨 DavidJennawayMVP, Moderator 2012년 5월 16일 수요일 오전 7:17
- 답변으로 제안됨 pogo69 2012년 5월 16일 수요일 오후 8:03
- 답변으로 제안 취소됨 aruizmorales 2012년 5월 17일 목요일 오후 6:22
-
2012년 5월 17일 목요일 오후 1:31Is there a way to change the color forms in a solution file ?
-
2012년 5월 17일 목요일 오후 1:41
Hi,
Can you please explain what you want to achieve. Do you want to change colors of the forms?
Thanks.
Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
-
2012년 5월 17일 목요일 오후 6:53
Yes, or have a label that some how identifes each environmnet. Can be done by changing the color of the form as with the previous pictures provided, or labeling like:
I would like to do this using possibly a solution
-
2012년 5월 17일 목요일 오후 10:56
Hi,
1) For forms: CRM 2011–Changing the Form Header and Footer Colors (this is Unsupported customisation, please be careful)
http://blog.customereffective.com/blog/2011/08/crm-2011changing-the-form-header-and-footer-colors.html
2) For logo change: Just replace <MSCRM application CRMWeb>\_imgs\CRMMastheadLogo.png image.
(this is Unsupported customisation, please be careful)
3) Provide color to forms:
(this is Unsupported customisation, please be careful)
http://gonzaloruizcrm.blogspot.com.au/2011/08/dynamically-colour-up-your-crm-forms-in.html
4) How to change CRM form field’s label color using Jscript:
(this is Unsupported customisation, please be careful)
http://rajeevpentyala.wordpress.com/tag/change-crm-form-fields-label-color-using-jscript/
I hope this helps. If my responses answered your question, please mark all these responses as an answer and also vote them as helpful.
Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
- 답변으로 제안됨 Ashish Mahajan Australia (Architect) 2012년 5월 17일 목요일 오후 10:56
- 답변으로 표시됨 aruizmorales 2012년 5월 18일 금요일 오후 12:57
-
2012년 5월 18일 금요일 오후 12:58Yes :D Thank you VERY much Ashish, you're awesome !
-
2012년 5월 18일 금요일 오후 1:02
One last question Ashish,
On 4 I would like to have a field on the header identifying the environment. The color does not matter. Is this unsupported too ?
-
2012년 5월 18일 금요일 오후 1:08
Hi,
Thanks for the kind words. Important thing is your issue is solved.
In CRM 2011 header you can have fields, that's fine.
I hope this helps. If my responses answered your question, please mark all these responses as an answer and also vote them as helpful.
Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
- 답변으로 제안됨 Ashish Mahajan Australia (Architect) 2012년 5월 18일 금요일 오후 1:08
-
2012년 5월 18일 금요일 오후 9:50Hi,
If the last response answered your question and you are satisfied, please mark the response as an answer and also vote as helpful. This will help others to search on similar problems.
Thanks in advance.Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
-
2012년 5월 22일 화요일 오후 7:01
I was actually able to change this , modifying main.css.apx. I was able to figure this out using IE's developer tool. Nonetheless thank you Ashish for guiding me to the right place.
-
2012년 5월 22일 화요일 오후 10:44
No problems mate.
Can you mark all the answers as completed and also vote them as helpful, which helped you and this will help others also identify the helpful posts.
Ashish Mahajan, Microsoft Dynamics CRM Solutions Architect, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
-
2012년 5월 23일 수요일 오후 7:46
Hey Ashish,
I'm having another problem:
If I change the background-color on the DIV.ms-crm-TopBarContainerGlobal div tag on main.css.aspx using the developer tool. The color seems to change. However, if I try to do this on C:\Program Files\Microsoft Dynamics CRM\CRMWeb\_common\styles. I do not see the change.
To debug this I have tried the following:
1-Opened IIS Manager and made sure the web site pointed to C:\Program Files\Microsoft Dynamics CRM\CRMWeb
2- Modified the main.css.aspx under C:\Program Files\Microsoft Dynamics CRM\CRMWeb\_common\styles and refreshed the directory under IIS.
3- Made an iisreset /stop, then an iisreset /start
No color is reflected. If I revisit C:\Program Files\Microsoft Dynamics CRM\CRMWeb\_common\styles , main.css.aspx has not been changed or overwritten.
What am I doing wrong ?
-
2012년 5월 23일 수요일 오후 8:13
I also changed the theme.css.aspx by applying the following:
DIV.ms-crm-AdvFind-SelectedFilterField,
{
<% = this.GetStyleCss(CrmTheme.Current.Global.AdvancedFindBorder) %>background-color: Red;
}
-
2012년 6월 4일 월요일 오후 8:29중재자
I've seen this done by modifying the masthead.jpg image. But bear in mind that the same images are reused by every organization in your deployment, so to have different coloured CRM application headers, you'll need separate deployments of CRM.Neil Benson, CRM Addict and MVP at Slalom Consulting. Find me on Twitter. Join over 20,000 other CRM professionals on the Microsoft Dynamics CRM group on LinkedIn.
- 답변으로 제안됨 Neil BensonMVP, Moderator 2012년 6월 4일 월요일 오후 8:30