Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Hide Flow ribbon button from all Unified Interface Form (on-premise)

Posted on by 135

I am using Dynamics 365 on-premise version 9.0.6.9. I would like to hid Flow Ribbon buttons from my Unified interface forms. For some reason, the option to disable the flow is not available to me through System Settings:

pastedimage1579627398619v2.png

or through Ribbon Workbench 

pastedimage1579627552170v3.png

pastedimage1579627677303v4.png

I am not sure what to do. Any help is appreciated .

Thanks

  • Rohim Profile Picture
    Rohim 20 on at
    RE: Hide Flow ribbon button from all Unified Interface Form (on-premise)

    If you want to hide Flows button of all entities, you can modify customizations.xml like this:

    2021_2D00_04_2D00_06_5F00_16_2D00_05_2D00_37.png

  • Suggested answer
    CRM-Dev Profile Picture
    CRM-Dev 135 on at
    RE: Hide Flow ribbon button from all Unified Interface Form (on-premise)

    I was able to address my issue by adding the following lines to my customizations.xml file:

    <RibbonDiffXml>
        <CustomActions>
            <HideCustomAction HideActionId="sbc.Mscrm.Form.contact.Flows.RefreshCommandBar.Hide" Location="Mscrm.Form. contact.Flows.RefreshCommandBar" />
        </CustomActions>
        .
        .
        .
    </RibbonDiffXml>

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Hide Flow ribbon button from all Unified Interface Form (on-premise)

    Hi

    Could you open the  Service Hub or Sales hub so that you can run the Unified Interface and then from Chrome press F12 to open the developer tools.

    From the Developer tool console, you can run the following query to see if the settings exists in your environment

    Xrm.WebApi.retrieveRecord("organization", "7b35affa-d835-40b4-aab1-cb58758c2d6e", "?$select=enablemicrosoftflowintegration")

    You should be able to see the flag value set to true as shown below

    0576.ScreenClip-_5B00_7_5D00_.png

    Now to change this setting to false, you could try the following query from console to change it to false

    Xrm.WebApi.updateRecord("organization", "7b35affa-d835-40b4-aab1-cb58758c2d6e", {"enablemicrosoftflowintegration":true})

    Note: You can find the Org ID (7b35affa-d835-40b4-aab1-cb58758c2d6e) from Developer Resources page

    You can update this setting directly in the database but direct DB changes are not supported by Microsoft.

    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

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans