This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How do I disable the "State Change" popup on workflow transition ?

Hey guys,

I want to hide the popup on state transition
so I came across the built in commands : BuiltinCommand_ChangeState and BuiltinCommand_ChangeStateAdmin

but I still see the popup.

Can someone please help me with that. Here's my code :


// Hides "Change state of workflow"
shellFrame.Commands.SetCommandState(
BuiltinCommand_ChangeState, CommandLocation_All, CommandState_Hidden );
// Hides "Change state of workflow" for administrator
shellFrame.Commands.SetCommandState(
BuiltinCommand_ChangeStateAdmin, CommandLocation_All, CommandState_Hidden );





Parents
  • Hi Joonas,

    Thanks that did work.

    Can you please let me know if there are more settings which can be controlled through registries ?

    Also is it possible to hide the workflow name from metadata card ?
    I have already posted a question here : community.m-files.com/index.php

    I don't want the users to see the workflow name. I have identified its property and I am trying to hide it from metadata configuration. Can it be also done through registry setting ?

    Regards,
    Shoeb
Reply
  • Hi Joonas,

    Thanks that did work.

    Can you please let me know if there are more settings which can be controlled through registries ?

    Also is it possible to hide the workflow name from metadata card ?
    I have already posted a question here : community.m-files.com/index.php

    I don't want the users to see the workflow name. I have identified its property and I am trying to hide it from metadata configuration. Can it be also done through registry setting ?

    Regards,
    Shoeb
Children
No Data