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

  • Suggested answer
    Pawar Pravin  Profile Picture
    5,237 on at
    RE: Hi all , I'm trying to disable a button once I get the Boolean value response as true in the Java script.

    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

  • Priya Reddy Profile Picture
    44 on at
    RE: Hi all , I'm trying to disable a button once I get the Boolean value response as true in the Java script.

    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
    RE: Hi all , I'm trying to disable a button once I get the Boolean value response as true in the Java script.

    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.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans