Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DynamicForm.SaveData will auto set willHandleError to true.

    Hi There,
    I have faced an issue when Dynamic Form call SaveData() function.
    When I set this willHandleError = false included in saveData's request properties, after I checked in transform request, willHandleError has automatically set true.
    Does this scenario is normal for smartclient?
    The version I'm using is 12.1p
    Last edited by Ben07; 28 Aug 2025, 20:13.

    #2
    Yes, because the DynamicForm does in fact handle errors: validation errors. If you set willHandleError:false, you're going to break that, and that doesn't make sense.

    If you want to do a save without a form, use DataSource.addData() or updateData().

    Comment

    Working...
    X