How? After insert return to table ONLY view (not record)

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 1231
Joined: 2019-05-21 22:42
Location: Germany
Contact:

How? After insert return to table ONLY view (not record)

Post by onoehring » 2021-01-05 07:33

Hi,

I have a tableview+detailview split. When I add a new record I want to return not to that record-edit, but to tableview only.
I am sure there must be an easy way ... but how do I do that?

Thanks already.
Olaf

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1944
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: How? After insert return to table ONLY view (not record)

Post by jsetzer » 2021-01-05 07:47

I am sure there must be an easy way ... but how do I do that?
I think it should work with "Redirect after insert" option:
AppGini_6w8VYXAMQn.png
AppGini_6w8VYXAMQn.png (5.92 KiB) Viewed 2229 times
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 25.10 + all AppGini Helper tools

User avatar
onoehring
AppGini Super Hero
AppGini Super Hero
Posts: 1231
Joined: 2019-05-21 22:42
Location: Germany
Contact:

Re: How? After insert return to table ONLY view (not record)

Post by onoehring » 2021-01-05 08:39

Hi Jan,

yes, that's a (the) easy solution. Thank you.
Probably the link should be:

Code: Select all

/tablename.php?addNew_x=1
or just back to table view

Code: Select all

/tablename.php
Olaf

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1944
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: How? After insert return to table ONLY view (not record)

Post by jsetzer » 2021-01-05 11:15

/tablename.php?addNew_x=1
/tablename.php
No, the urls are slightly different.

The correct URL's are:

Detail View in insert-mode

Code: Select all

TABLENAME_view.php?addNew_x=1
Table View

Code: Select all

TABLENAME_view.php
* replace TABLENAME
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 25.10 + all AppGini Helper tools


Post Reply