Announcement

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

    Question about DynamicForm/ValuesManager processing

    If I call ValuesManager.editNewRecord(), make some changes on member forms and then call ValuesManager.saveData() it inserts a new record. Do I then need to call ValuesManager.rememberValues() and ValuesManager.setSaveOperationType(DSOperationType.UPDATE) in order to let the user continue editing that same record, or is that done automatically?

    #2
    Typically in this scenario you'd handle this with a callback from the save that calls "editRecord()" on the ValuesManager.

    This handles updating the saveOperationType on the edit form, and also will pick up any values that are populated by the server (for example sequence type field values, etc).

    Comment

    Working...
    X