web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CSS JavaScript for Business Process Flow labels?

(0) ShareShare
ReportReport
Posted on by 152

Does anyone have an example JavaScript that accents Business Process Flow Labels? Essentially what I would like to do is bold the Business Process Flow Steps that don't have any data in them.

Thanks,

Edit: This is in regards to CRM 2015 Update 1

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Royal King Profile Picture
    27,686 on at

    There is no supported method to apply css for a field, even if you use unsupported method to do this it may break in future update and you have to keep on updating this unsupported method.

    Here is unsupported script to set label text to bold.  In order to access the fields in business process flow you need to add prefix "header_process" to your attribute name.In my example i'm accessing "customer" field."_c" is to access label of the field. Also one more thing to keep in mind is you can access only fields from the active stage 

    document.getElementById("header_process_customer_c").style.fontWeight = "900";

    2015_2D00_09_2D00_15_5F00_1112.png

  • peterftcg Profile Picture
    152 on at

    Thanks,

    Unfortunately I believe in CRM 2015 Update 1, the getElementById is no longer supported. I should have mentioned this is for CRM 2015 Update 1

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans