Show DisplayForm after insert new record
-
01-10-2020 - |
Вопрос
I'm looking if there is a way to show an already inserted record instead of returning to the list...
Решение
Using JavaScript you can change the URL query string Source
and place the DisplayForm
http://spjsblog.com/2011/04/23/redirect-from-newform-to-dispform-or-editform/#comment-195397
Другие советы
If you are creating the dialog manually, you can use dialogReturnValueCallback (nicely described here)
Or you can add a web part to default form and using jQuery check that the save button was clicked and you can redirect wherever you want (althought you might have issues with obtaining newly created item ID).
Не связан с sharepoint.stackexchange