<p>Is it possible to bulk save user entries to force an onSaveEntry event. I added a new custom preparse field to Users, but need to trigger a save event to propagate. </p>

<p>Regular sections can reindex by saving the Section title (<a href="https://craftcms.stackexchange.com/questions/18448/bulk-resave-entries-to-trigger-onsaveentry-event/18449#18449">Bulk resave entries to trigger onSaveEntry event</a>) but it doesn't seem like that's possible with Users? Any known workarounds or obvious tricks I'm missing?</p>

CC BY-SA 3.0
2018-04-29T18:05:36.943Z
Would it be an option to create the function by yourself or does it have to be during the `onSaveEntry` event every time?
Robin Schambach
CC BY-SA 3.0
2018-04-29T20:12:36.067Z
Good question -- not sure, frankly
Shanan Galligan
<users><onsaveentry>
Bulk resave user entries to trigger onSaveEntry event
# Bulk resave user entries to trigger onSaveEntry event

(Asked by: username_0 on 2018-04-29)

Is it possible to bulk save user entries to force an onSaveEntry event. I added a new custom preparse field to Users, but need to trigger a save event to propagate.

Regular sections can reindex by saving the Section title ([Bulk resave entries to trigger onSaveEntry event](https://craftcms.stackexchange.com/questions/18448/bulk-resave-entries-to-trigger-onsaveentry-event/18449#18449)) but it doesn't seem like that's possible with Users? Any known workarounds or obvious tricks I'm missing?

**Tags:** users, onsaveentry
> **Comments:**
> **username_1**: Would it be an option to create the function by yourself or does it have to be during the `onSaveEntry` event every time?  
> **username_0**: Good question -- not sure, frankly  

---

## 0 answers

