1. After saving stay in the record detail

    Artikel: AN0002548Aktualisiert: 28.07.2024
    Die vorgegebene Sprachenversion vom Artikeltext wird angezeigt, weil es kein Text von der ausgewählten Sprache und Version gibt.

    The following Script for Class Record Detail ensures that after clicking Save, the user remains in the record detail. So the user will not be redirected to the list of records or to another place according to the returnUrl.

    function OnAfterSave()
    //after saving, the record remains displayed and user does not go to the list of records
    var save = OGForm.GetControl('saveButton');
    save.NavigateBackUrl = 'DataDetail.aspx?Id=' + OGClassDef.Id + '-' + OGDataRowId;

×