Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Add border color and width of 1px in section

(0) ShareShare
ReportReport
Posted on by 675

Hi CRM gurus out there,

Is there any way that we can add border style and color to the section on crm form? If yes can you pl let me know asap.

Regards,

Prashant

*This post is locked for comments

  • VPrashant Profile Picture
    VPrashant 675 on at
    RE: Add border color and width of 1px in section

    Well, so the bottom line is that I shouldn't do it to avoid future issues. I will try to challenge the requirement as Nadeeja said.

    That's it. Got much more knowledge in less than 60 mins. :)

    Thank you Piotr, Nadeeja and Martijn for your time.

    -Prashant

  • Verified answer
    JohnAnonymous Profile Picture
    JohnAnonymous 5,241 on at
    RE: Add border color and width of 1px in section

    Hi Prashant,

    As CRM is a web application there is not technical limitation on putting in some javascript to manipulate the HTML / DOM. However, it's unsupported, and not because it will be an issue for Microsoft, but because it will break during updates. All these change broke from crm4 to 2011 to 2013 to 2015 and with Turbo Forms. For the next update there will most likely be an update to the interface again and the customization will break. And at this point in time you will not know if you can fix it again.

    So keep that in mind if you are trying to do unsupported customizations. Is it worth the time and effort and does the business really understand the consequences.

  • VPrashant Profile Picture
    VPrashant 675 on at
    RE: Add border color and width of 1px in section

    Hi Nadeeja,

    Actually I was looking for this thing:

    www.linkedin.com/.../how-colorize-microsoft-dynamics-crm-20132015-crm-consultant

    It had some thing that I want. Although it applies to all of the form. Also the requirement is that we have too many sections on the form and the white space between the sections doesn't distinguish the sections on the form; so we thought of giving a border to the sections and nothing else.

    - Prashant

  • Verified answer
    Nadeeja Bomiriya Profile Picture
    Nadeeja Bomiriya 6,804 on at
    RE: Add border color and width of 1px in section

    Hi Prashant,

    +1 for Piotr's comment.  The only supported look and feel customizations are done using Themes.

    https://technet.microsoft.com/en-us/library/dn949334.aspx

    I would suggest challenging the requirement.  Ask the question from the customer/product owner why they need a border.

    Below article highlights common unsupported customizations in Dynamics 365 (CRM).

    https://msdynamicscrmblog.wordpress.com/2013/10/18/common-unsupported-customization-practices-in-dynamics-crm-2013/

    Cheers,

    Nadeeja

    If the answer solves your problem, please mark as Verified. Thanks.

    My Blog: http://dyn365apps.com/ - Follow me on Twitter: https://twitter.com/dyn365apps

    LinkedIn: https://www.linkedin.com/in/nadeeja

  • VPrashant Profile Picture
    VPrashant 675 on at
    RE: Add border color and width of 1px in section

    Hi Piotr,

    You are absolutely correct. So that means we can't add the border and color to the section in crm. Not even in .js file. But can you let me know how I can achieve it. Later on we might not need it. But just wanna see that whether it works or not.

    Any unsupported way please?

    Thank you for your prompt reply.

    -Prashant

  • Verified answer
    Piotr Kalwasinski Profile Picture
    Piotr Kalwasinski 240 on at
    RE: Add border color and width of 1px in section

    Hi Prashant,

    This kind of JavaScript manipulations to form are considered "unsupported", as these are based on DOM model rather than CRM JS object, supplied with SDK. This means that you may develop JS solution for this today, but with next CRM upgrade, DOM elements may be organised differently and your JS solution may no longer work.

    I hope this helps,

    Piotr

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans