Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Ribbon Workbench - Display Rule for lookup values on form

Posted on by 307

Hi,

I need to display button on form ribbon, depending of lookup value on the entity. E.g if account->country = US show button.. Country is lookup.

Can I use Display Rule->Value Rule? And how? What to put in the Value?

If not, what is other possibility, preferably without javascript?

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Ribbon Workbench - Display Rule for lookup values on form

    Only way i can think of without using Javascript is to populate the lookupname to some custom field and use the custom field in Value Rule

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Ribbon Workbench - Display Rule for lookup values on form

    Hi Nikica,

    Please refer the below link , it would give idea about your query.

    https://garethtuckercrm.com/2013/11/25/dynamically-disable-ribbon-buttons-in-dynamics-crm/

    There they have used form type functionality in java script , you can use your your Lookup field.

    Regards,

    Dhandapani

    Please mark the answer as verified, if it helps you

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

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