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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans