🔥 3-day streak
Microsoft Power Platform Developer44 / 140
Question 44 of 140
You are building a command bar button in a model-driven app using the modern command designer with Power Fx. The button labeled 'Submit for Approval' should only be enabled when the current record's Status field (a choice column named 'statuscode') equals the 'Draft' value, and it should be hidden entirely for any other status. You need to configure both the button's visibility and its enabled behavior with the least amount of code and without writing a JavaScript web resource. Which approach should you use?
Reviewed for accuracy · Report an issueNext question