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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

how to disable business process flow or hide it

(0) ShareShare
ReportReport
Posted on by 2,385

I have a requirement to make business process flow read only or hide on certain condition. I have to do this by Javascript. Have used "Xrm.Page.ui.process.setVisible(false);" this statement , but it is giving error process is null or not an object.

Any help will be helpful.

Thanks,

Dilip

*This post is locked for comments

I have the same question (0)
  • gawasdilip Profile Picture
    2,385 on at

    I tried below statement also but this is not working too

    document.getElementById("header_process_d").style.display = "block";

  • Saroj Das Profile Picture
    3,355 on at
  • gawasdilip Profile Picture
    2,385 on at

    thanks for reply saroj. Is there any way that process bar will be there but user can not switch to next or before stage.

  • Suggested answer
    Mithilesh Kumar Profile Picture
    10,047 on at

    Hi Dilip,

    You can hide the business process flow. Please follow this post.

    missdynamicscrm.blogspot.com/.../show-and-hide-business-process-flow-in-CRM-2011-2013-using-javascript.html

    Hope that helps

    Thanks

  • gawasdilip Profile Picture
    2,385 on at

    thanks mithilesh, but this is same as above, we can show or hide process bar.

    Is there a way to make it read only, means user can not change stage to next or previous

  • Aileen Gusni Profile Picture
    44,524 on at

    Dilip,

    If you want to make sure user cannot move forward next process you need to make the field in the BPF as the REQUIRED fields first..

    But cant prevent user to change to previous or other process unless you prevent it using plugin programmatically.

    Hope this helps.

    Thank you.

  • Community Member Profile Picture
    on at

    Hi Dilip Gawas,

    I can share this link www.powerobjects.com/.../setting-visibility-of-a-business-process-flow-with-javascript-dynamics-crm-2015 an easy way to disable a process flos using CRM 2015. using JavaScript.

    Please let me know if it was useful this site for you.

    Jimena Gaona | Support Engineer | Microsoft Dynamics CRM

  • gawasdilip Profile Picture
    2,385 on at

    ok. thanks aileen

  • Saddamk206 Profile Picture
    777 on at

    Also can use these:- 

     

    Hide:- 

     Xrm.Page.ui.process.setVisible(false);

    Show:- 

     Xrm.Page.ui.process.setVisible(true);

  • Community Member Profile Picture
    on at

    you need to make the field in the bpf as required by first field process unless you prevent it using plugin programmatically hope this helps.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
AS-17030037-0 Profile Picture

AS-17030037-0 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans