QuestionQ396

Extend the user experience

A company has a model-driven app.

A form that validates the entered date needs a custom button. The button must be available only in specific conditions.

You need to define the CommandDefinition in the RibbonDiffXML to satisfy the button conditions.

Which elements should you use? Each element may be used once, more than once, or not at all.

Drag & Drop
Enable Rule
Display Rule
Action
Make the button appear when the form shows an existing record.
Make the button appear when the user has Write privilege on the record.
Prevent the button from being used in Bulk Edit mode.
Explanation

Display rules control whether a ribbon element is visible. Enable rules control whether an available ribbon element is enabled, including checks for record-level Write privilege and form state such as BulkEdit. An Action specifies the command operation rather than its display or enablement conditions.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!