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