Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

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

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

  • Verified answer
    gordonj Profile Picture
    gordonj 255 on at
    RE: Anyone know how to remove the "click to enter" text from the Business Process bar

    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.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Anyone know how to remove the "click to enter" text from the Business Process bar

    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.

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Anyone know how to remove the "click to enter" text from the Business Process bar

    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.

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Anyone know how to remove the "click to enter" text from the Business Process bar

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans