Monday, March 15, 2021

change view mode to edit mode of a form In D365Fo

How to change form view mode to edit mode in D365.


  • To subscribe to view/edit mode switching, use these events:
    • element.viewEditModeHelper().EditModeSwitching
    • element.viewEditModeHelper().EditModeSwitche
  • To query the current view/edit mode, use these events:
    • element.viewEditModeHelper().isInEditMode()
    • element.viewEditModeHelper().IsInViewMode()
  • To trigger view/edit mode switching, use these events:
    • element.viewEditModeHelper().setViewEditMode(ViewEditMode::Edit)

Keep Daxing!!

No comments:

Post a Comment