Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Hide the Stage in BPF

(0) ShareShare
ReportReport
Posted on by 179

Hi everyone im looking for method to hide Stages in BPF ( Next and Back)

i tried several js but still not working : 

function HideStages()

{
 // processActionsContainer.style.display = "none";

$("#stageBackActionContainer").hide();

$("#stageBackActionContainer").html("");

$("#stageAdvanceActionContainer").hide();

$("#stageAdvanceActionContainer").html("");

}
any idea 
Thank you in advance

  • Suggested answer
    LeoAlt Profile Picture
    16,331 Moderator on at
    RE: Hide the Stage in BPF

    Hi Partner,

    First of all, Jquery is not supported in D365 forms.

    If you want to control the DOM element, you should use settimeout function to wait until the ribbon element has been loaded in form.

    function hideRibbon() {
        var back = getElementById('stageBackActionContainer');
        if (back !== null && back != undefined) {
            back.hide();
    
            back.html("");
            clearTimeout(timer);    
    
        }
        else {
            timer = setTimeout(arguments.callee, 1);   
        }
    
    }

    In addition, using JS on DOM directly is not supported in D365, I suggest that you could share more details about your requirement and we'll find other way for it.

    Regards,

    Leo

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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans