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)

(Ribbon Workbench) Button to dynamically change title onclick

(0) ShareShare
ReportReport
Posted on by

Hi experts,

I have added a stopwatch timer on my case form. I would like to add the functionality to "pause" and "resume" the timer onclick of a button on ribbon workbench. 

Now, instead of adding 2 separate buttons on ribbon workbench for pause and resume, I would like to add functionality so that when I click pause, the same button will change its label to resume. 

Can I do this on the ribbon workbench or any other way? 

Thanks!!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    PS Profile Picture
    23,577 on at

    Hi Jon,

    I don't think that there's a way to dynamically change the name of a button... social.microsoft.com/.../change-the-ribbon-button-text-crm-2011-online

    What you can do is, show/hide buttons based on the pause/resume value; this will make the irrelevant button go away.

    community.dynamics.com/.../253850

  • Community Member Profile Picture
    on at

    Can I hide the pause button on click and then show the resume button and vice versa?

  • Suggested answer
    PS Profile Picture
    23,577 on at

    Go to settings>>Administration>>System Settings>>Service

    Check what statuses you have selected for PAUSE

    Now on your case form, check the values of 'Status' in your script and show/hide button

    This might help rajeevpentyala.files.wordpress.com/.../enhanced-sla-choose-on-hold-status.png

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