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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

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

(0) ShareShare
ReportReport
Posted on by 1,023

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

I have the same question (0)
  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Hiding the ribbon button in standard interface and make it visible in UCI

    Hello,

    You should add "Enable" rule to your command that will use following JavaScript function to validate the type of UI:

    function isUCI(){
    return Xrm.Internal.isUci();
    }

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

    Thanks Andrew, if possible could you please share a screenshot of the enable rule and the command rule should look like after using the above JS you provide to show the button only in UCI?

  • yify Profile Picture
    1,023 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!

  • a33ik Profile Picture
    84,331 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?

  • a33ik Profile Picture
    84,331 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.

  • yify Profile Picture
    1,023 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

  • Verified answer
    a33ik Profile Picture
    84,331 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
    1,023 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

  • yify Profile Picture
    1,023 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!!

  • a33ik Profile Picture
    84,331 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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 231

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 83 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 68 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans