# Can we update transaction group by using scripting or any igniton function?

**URL:** <https://forum.inductiveautomation.com/t/can-we-update-transaction-group-by-using-scripting-or-any-igniton-function/41083>\
**Category:** Ignition\
**Tags:** vision, ignition79\
**Created:** [December 1, 2020, 9:33am UTC](https://forum.inductiveautomation.com/t/can-we-update-transaction-group-by-using-scripting-or-any-igniton-function/41083 "2020-12-01T09:33:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anarula](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@anarula](https://forum.inductiveautomation.com/u/anarula)\
**Post date:** [December 1, 2020, 9:33am UTC](https://forum.inductiveautomation.com/t/can-we-update-transaction-group-by-using-scripting-or-any-igniton-function/41083/1 "2020-12-01T09:33:22Z")

</div>

1. export xml file of transaction group via any function or any scripting method?
2. how can we edit xml file via python in igniton itself?
3. how to save transcation groups after any edit via scripting only?
4. wether we can use the func to update existing transaction grp or not?

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [December 1, 2020, 9:54am UTC](https://forum.inductiveautomation.com/t/can-we-update-transaction-group-by-using-scripting-or-any-igniton-function/41083/2 "2020-12-01T09:54:44Z")

</div>

These are the functions available to you.

[https://docs.inductiveautomation.com/display/DOC79/system.groups](https://docs.inductiveautomation.com/display/DOC79/system.groups)

---

<div class="post-metadata">

**Author:** ![anarula](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@anarula](https://forum.inductiveautomation.com/u/anarula)\
**Post date:** [December 1, 2020, 12:20pm UTC](https://forum.inductiveautomation.com/t/can-we-update-transaction-group-by-using-scripting-or-any-igniton-function/41083/3 "2020-12-01T12:20:07Z")

</div>

@JordanCClark Thanks.  
Can we update existing Transaction group by system.groups.loadFromFile?  
Can End user is able to edit transaction group properties from client itself by using above mentioned function or by any other method?

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [December 1, 2020, 12:40pm UTC](https://forum.inductiveautomation.com/t/can-we-update-transaction-group-by-using-scripting-or-any-igniton-function/41083/4 "2020-12-01T12:40:03Z")

</div>

> [@anarula](#):
>
> Can we update existing Transaction group by system.groups.loadFromFile?

Yes, one of the options is overwrite.

> [@anarula](#):
>
> Can End user is able to edit transaction group properties from client itself by using above mentioned function or by any other method?

Not directly. Personally, I wouldn't leave it to an end-user, as that can be rather dangerous, IMO. And I'm speaking as an end-user.

That said, if I were to do this, I would take an export of a transaction group to use as a 'gold standard', save it to a new file with whatever modifications you wish, then use loadFromFile() to bring it into a project.
