Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Hiding the ribbon button in standard interface and make it visible in UCI

Posted on by 1,017

Hi,

I would like to hide the ribbon button in the standard interface and make it visible in the UCI. Please advise the steps to do this.

Thanks

  • Verified answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Hiding the ribbon button in standard interface and make it visible in UCI

    James,

    Implementation is pretty similar - what you will have to is to invert value of "isUCI" function - there is a setting for it in custom rule at the top-right corner.

  • yify Profile Picture
    yify 1,017 on at
    RE: Hiding the ribbon button in standard interface and make it visible in UCI

    Hi Andrew, hope your are doing good. I have the vice versa scenario now where I want to show the button in standard interface and hide it in UCI. Please advise on how can I achieve this.

    Thanks. Your help is very much appreciated!

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Hiding the ribbon button in standard interface and make it visible in UCI

    You are welcome! I'm glad you were able to resolve your issue.

  • yify Profile Picture
    yify 1,017 on at
    RE: Hiding the ribbon button in standard interface and make it visible in UCI

    Andrew, changing the Invert Result to False for Enable Rule as advised worked. Thanks so much for helping with this. I appreciate your help!!

  • yify Profile Picture
    yify 1,017 on at
    RE: Hiding the ribbon button in standard interface and make it visible in UCI

    Please find  both button and command screenshots

    8473.button.PNGcommand.PNG

  • Verified answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Hiding the ribbon button in standard interface and make it visible in UCI

    I believe you're on the right path. In "Enable Rule" use "False" in "Invert Result".

    Can you also please provide screenshots of button and command itself please?

  • yify Profile Picture
    yify 1,017 on at
    RE: Hiding the ribbon button in standard interface and make it visible in UCI

    Andrew,

    Below are the steps I did,8204.Capture.PNG

    - Created the web resource and the added the code you provided

    - In ribbon work bench I created a new button and added the command and in the command , Enable rule I have called the js function. (Screenshot attached for enable rule)

    After doing those, still I see in the button in the standard interface which  I only want to see it in UCI Please let me know if I am missing anything

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Hiding the ribbon button in standard interface and make it visible in UCI

    James,

    Please, try to avoid creating new threads without the need. Your new thread is based on the reply you got in the previous one.

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Hiding the ribbon button in standard interface and make it visible in UCI

    James,

    I don't have that requirement so I don't have a screenshot. May be you can share what you have on your side and explain what issues you experience?

  • yify Profile Picture
    yify 1,017 on at
    Enable Rules- Ribbon workbench

    Hi, 

    I would like to show one button only in the UCI and not in the standard.

    I am new to this and I have the below JS to show this but not exactly sure how I can add this in the Ribbon workbench.

    function isUCI() {

    return Xrm.Internal.isUci();

    }

    I would appreciate if anyone can provide the steps or screenshots to achieve my functionality. 

    Thanks!

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans