# How to use SFPrepUpdate

**URL:** <https://forum.inductiveautomation.com/t/how-to-use-sfprepupdate/33644>\
**Category:** Module Development\
**Created:** [April 2, 2020, 8:38pm UTC](https://forum.inductiveautomation.com/t/how-to-use-sfprepupdate/33644 "2020-04-02T20:38:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [April 2, 2020, 8:38pm UTC](https://forum.inductiveautomation.com/t/how-to-use-sfprepupdate/33644/1 "2020-04-02T20:38:28Z")

</div>

How do I make use of the runSFPrepUpdate functions? I am using 8.0.8 SDK.

com.inductiveautomation.factorypmi.application.script.builtin.ialabs.IALabsDatasourceFunctions doesn’t seem to be available.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 2, 2020, 8:39pm UTC](https://forum.inductiveautomation.com/t/how-to-use-sfprepupdate/33644/2 "2020-04-02T20:39:33Z")

</div>

These aren’t meant to be part of the API or consumed by users of the SDK.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 2, 2020, 8:40pm UTC](https://forum.inductiveautomation.com/t/how-to-use-sfprepupdate/33644/3 "2020-04-02T20:40:48Z")

</div>

That being said… `com.inductiveautomation.factorypmi.application.script.builtin.ialabs.IALabsDatasourceFunctions` would only work if you were programming in the Vision Client scope and depending on the Vision module and its API.

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [April 2, 2020, 9:00pm UTC](https://forum.inductiveautomation.com/t/how-to-use-sfprepupdate/33644/4 "2020-04-02T21:00:03Z")

</div>

There is no official way to make use of the store and forward system?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 2, 2020, 9:13pm UTC](https://forum.inductiveautomation.com/t/how-to-use-sfprepupdate/33644/5 "2020-04-02T21:13:24Z")

</div>

You probably just want GatewayContext \> HistoryManager \> `storeHistory()`
