Power Apps 入門
Luise Freese
Azure & Power Platform Architect

If(condition, ifTrue, ifFalse) が基本となる数式
IsBlank(value) は値が空の場合にtrueを返す
$$

DisplayMode = If(IsBlank(...), DisplayMode.Disabled, DisplayMode.Edit)
Notify(
"Save failed: check fields",
NotificationType.Error
)
OnFailure を Notify() に接続し、NotificationType.Error を指定

Visible = false → レイアウトとタブ順序から削除DisplayMode.Disabled → その場に残り、グレーアウトして読み取り専用にDisplayMode.View → フォーム内のカードに使用


Power Apps の数式はセキュリティ境界にはなりません。

Power Apps 入門