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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / D365 Goddess / Show/Hide custom buttons wi...

Show/Hide custom buttons with PowerFX when a lookup column has no value

dian74 Profile Picture dian74 2,477 Most Valuable Professional
A friend of mine was recently trying to make a custom button on an opportunity form in Dynamics 365 Sales show on the form, but only when a certain lookup field had a value. They turned to PowerFX to make it happen but there were some some problems getting it to work correctly. For those who haven’t used it much, Power Fx is the low-code formula language built into the Power Platform. It’s super handy for adding logic without writing full code, you can do things like show or hide buttons, calculate values on the fly, validate data and much more. It’s one of those tools that makes configuring Dynamics 365 way faster and much more approachable, especially if you are not a developer like yours truly! There are some PowerFX code examples that you can find online, but it doesn't really explain a lot of what it does or how to use it on other tables. Since it took me a while to figure out how to do this, and because I searched online but couldn't find a lot of information on how to do this, I decided to write an article about it where I will explain exactly how you can do this! Read More.

This was originally posted here.
Button.png
RibbonEditor.png

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

Comments