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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Hi all , I'm trying to disable a button once I get the Boolean value response as true in the Java script.

(0) ShareShare
ReportReport
Posted on by 44

ribbon button

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Pawar Pravin  Profile Picture
    5,237 on at

    First of all create synchronous JS to get boolean value from lookup.

    Using enable rule you would be able to hide button on form.

    Please refer below url for reference:

    community.dynamics.com/.../how-to-disable-a-crm-2016-ribbon-button-based-on-form-name

    Let me know if you need more info.

  • Priya Reddy Profile Picture
    44 on at

    Hi ,pravin,

    Thankyou ,actually I'm looking for code suggestion to retrieve the Boolean value if it is in another lookup value.

    For example - Session is the entity , the lookup field - Account  under the account there is lookup field of flag which I want to retrieve the data in Java script. Thanks please suggest me

  • Suggested answer
    Pawar Pravin  Profile Picture
    5,237 on at

    1. Try to build fetch xml from advance find

    2. Using CRM rest builder solution you would be able to create REST call.

    carldesouza.com/.../

    www.mscrm.com/.../crm-rest-builder-for-dynamics-crm-d365.html

    3. Inside JS function check boolean value

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans