We open different forms basend on button links in SPO list views (generated by SPO colum formatting in modern list view). But for going back, we need the sourceUrl of the formerly list-view to show the same list-view after editing some list item.
document.referrer or instead js objects doesn't show the formerly url.
I like the look of your column formatting in modern sharepoint lists. Would you mind sharing the JSON for each of the formatted columns shown in your screencapture?
Hi @mnikitina, that doesn't solve my use case. I want get back to the original url which has the form loaded (like document.referrer / window.history.go(-1)), but I doesnt have a chance to get this value in the form to redierct back after save. Beacuse the form always go back to the standard view on the list.
There is no chance to retrieve the referrer url in Plumsail forms?
Hi @mnikitina this code works great in SharePoint form, but when new attachments are added, they are attached to the list item. When we remove this code then attachment upload works. Any suggestions?