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 @Margo, 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 @Margo 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?
By default, users should automatically be redirected to the previous page when they close a form. Is that not working properly on your forms right now?
When users apply column filters, open an item for editing, and then click Close, they are returned to the view; however, all applied filters are cleared. Users would like the filters to be retained so they can continue working from the same filtered view without having to reapply them.
Thank you for sharing this! This is actually a bug we've been working on, and we will release a fix soon. I'll post an update here once it is available.