# MODX 3 VersionX 3 - How

**URL:** <https://community.modx.com/t/modx-3-versionx-3-how/7711>\
**Category:** Development\
**Created:** [April 19, 2024, 12:49pm UTC](https://community.modx.com/t/modx-3-versionx-3-how/7711 "2024-04-19T12:49:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fritzkola](https://community.modx.com/letter_avatar_proxy/v4/letter/f/f19dbf/32.png) [@fritzkola](https://community.modx.com/u/fritzkola)\
**Post date:** [April 19, 2024, 12:49pm UTC](https://community.modx.com/t/modx-3-versionx-3-how/7711/1 "2024-04-19T12:49:15Z")

</div>

Hello,

does anyone have experience with VersionX 3?

I am thinking how it is possible the programmatically get delta for a resource an its TVs.  
So I could track for example a pricing change.

Thank you in advance.

bye  
Chris

---

<div class="post-metadata">

**Author:** ![markh](https://community.modx.com/user_avatar/community.modx.com/markh/32/36_2.png) [@markh](https://community.modx.com/u/markh)\
**Post date:** [April 19, 2024, 12:55pm UTC](https://community.modx.com/t/modx-3-versionx-3-how/7711/2 "2024-04-19T12:55:09Z")

</div>

You can use xPDO with [the provided xPDO model](https://github.com/modmore/VersionX/blob/ecc1e7d0cb0603b13c847ea031364aa9189bc6fd/_build/schema/versionx.mysql.schema.xml) to access specific data in VersionX 3.

Each individually changed fields is a `vxDeltaField` object, so for example `vxDeltaField.field` is going to have a value like `mytv`.

Multiple vxDeltaField objects are tied to a `vxDelta` object which groups together all changes made at a specific point in time, where the `principal_class` and `principal` fields tell you what the thing that was changed was (typically, a resource with a certain ID).

(Note that the `vxResource`, `vxTemplate`, etc models are still defined and exist, but they are no longer used. That’s only still there to make migrations from v2 possible.)

---

<div class="post-metadata">

**Author:** ![fritzkola](https://community.modx.com/letter_avatar_proxy/v4/letter/f/f19dbf/32.png) [@fritzkola](https://community.modx.com/u/fritzkola)\
**Post date:** [April 25, 2024, 2:20pm UTC](https://community.modx.com/t/modx-3-versionx-3-how/7711/3 "2024-04-25T14:20:36Z")

</div>

thank you very much, Mark! 🙏
