Forum Discussion
Custom Edit Form WebParts, How to Prevent Overlapping Saves
I'm working on building a custom form webpart that will be basis for all of our custom forms going forward. A single webpart to handle New, Display, and Edit. This will facilitate our migration from JSLink/JSOM overrides that we currently have in place. I've been searching for a few days and I can't see any conversations about preventing overlapping saves. This was an OTB feature that just worked. I'm using PnP ListItem update to post item updates.
list.items.getById().update (https://pnp.github.io/pnpjs/sp/items.html)
As far as I can tell, there is no detection or error returned that allows me to address overlapping saves.
How would I implement a feature that prevents overlapping saves in my edit form using SPFx/PnP?
- DeletedNov 20, 2018
This is how I solved this issue: https://sharepoint.stackexchange.com/questions/247612/custom-edit-form-webparts-how-to-prevent-overlapping-saves
2 Replies
- DeletedI realized immediately after posting this that I could do a Modified Date/Time comparison but that would require an additional query just before saving. Is it that simple or is there some other SP method that I'm unaware of?
- Deleted
This is how I solved this issue: https://sharepoint.stackexchange.com/questions/247612/custom-edit-form-webparts-how-to-prevent-overlapping-saves