Notifications
Announcements
No record found.
Hi ,
Can we hide the finish button of business process flow which is shown when last is active .
Thanks ,
Waseem
*This post is locked for comments
Hi Mohammed ,
Unfortunately there is no supported way to hide the finish button .
You may try to hide accessing DOM but make sure this is completely not supported.
Hi,
There is no supported way to achieve this. And accordingly to me you should not hide it as it will inform the user that this is the last step.
Hi Gautam ,
Thanks for your reply .can you please provide bit more information how do we hide by accessing DOM .
Thanks,
Waseem.
Hi Waseem,
May I know for what purpose you want to hide the Finish button?
I have not tried this before, press F12 and move the selector to the Finish button to get the id and hide the button in registering function in below method. This is not supported at all.
Xrm.Page.data.process.addOnStageSelected(myFunction);
Xrm.Page.data.process.addOnStageChange(myFunction);
Gautam ,
The product owner says - when the last stage is active , thats enough for him and he doesnt want to mark the process as finished .
to avoid user confusion .
Waseem .
On what event i will be adding the above code .
I am not sure as I said earlier you could try to register the funcion "OnloadForm" in form onload event-
function OnloadForm() { Xrm.Page.data.process.addOnStageSelected(onchangeStage); Xrm.Page.data.process.addOnStageChange(onchangeStage); } function onchangeStage() { var stageName = Xrm.Page.data.process.getSelectedStage().getName().toString().toUpperCase(); if(stageName == "LAST STAGE NAME") { //Get the button/div id using browser F12 selector if(buttonid ! = null) { //Maike the id Display none } }
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2