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)

Anyone know how to remove the "click to enter" text from the Business Process bar

(0) ShareShare
ReportReport
Posted on by 255

We are using the Business Process bar on a custom entitity.

In the main, the fields are locked down and populated by an overnight job.  One or two of the date fields will sometimes be empty.

Since they are locked it is a bit rubbish to have the "click to enter" text within the field cell since nothing happens when you click it.

We would rather have blank space.

Any solutions?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hello Gordon,

    I have seen another post having same concern but there is no supported customization to change this  text.

    You can put your concern here-

    experience.dynamics.com/ideas

  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    There is no supported way to do this. You can probably do it with jquery or the dom, and modifying the control properties/attributes, but except for this, I don't think there is a way.

  • Community Member Profile Picture
    on at

    Hi,

    An alternate solution could be to hide the fields until they contain some value.

    You could do this with javascript and have a simple check onload if the fields contain value or not.

    You should also be able to show/hide the fields using a business rule.

    Hope this can help you in any way.

  • Verified answer
    gordonj Profile Picture
    255 on at

    In the end I created an HTML Web Resource with the necessary JavaScript to update the fields.

    This seems to be the only way since the web resource will load last. My JavaScript isn't brilliant. Has real trouble drilling down to the span and in the end had to replace the entire div as my time was limited. Would rather have just replaced the text in the span.

    Interestingly when I test the span value it contains a hyphen.

    Solution works: although prone to breakage when Microsoft updates the UI. Customer was happy with the solution.

    <html>
    <head>
        <script>
            var finalreportdate = window.parent.document.getElementById("field1").firstElementChild.firstElementChild;
            var postimplementationset = window.parent.document.getElementById("field2").firstElementChild.firstElementChild;
    
            if (finalreportdate.innerText.length <= 1) {
                window.parent.document.getElementById("field1").innerHTML = "<div><span style='color:blue;font-style:italic;padding-left:24px;'>Unavailable</span><div>";
            }
    
            if (postimplementationset.innerText.length <= 1) {
                window.parent.document.getElementById("field2").innerHTML = "<div><span style='color:blue;font-style:italic;padding-left:24px;'>Unavailable</span><div>";
            }
        </script>
        <meta>
        <style type="text/css">
            P {
                margin: 0;
            }
        </style>
    </head>
    <body>
    
    
    </body>
    </html>


    The answer to completely hide the field using the OTB functionality is the one I would also advise anyone finding this article to use: unless, like in my case, the customer is quite adamant.

    Thank you for the answers.

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