# Save App to TXA automatically

**URL:** <https://clarionhub.com/t/save-app-to-txa-automatically/6451>\
**Category:** questions\
**Tags:** txa\
**Created:** [August 2, 2023, 7:42am UTC](https://clarionhub.com/t/save-app-to-txa-automatically/6451 "2023-08-02T07:42:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![BILAZ](https://clarionhub.com/letter_avatar_proxy/v4/letter/b/ecd19e/32.png) [@BILAZ](https://clarionhub.com/u/BILAZ)\
**Post date:** [August 2, 2023, 7:42am UTC](https://clarionhub.com/t/save-app-to-txa-automatically/6451/1 "2023-08-02T07:42:40Z")

</div>

Hello  
Is there a possibility to save my APP in TXA automatically when I save the APP  
Without doing it manually in the “EXPORT TO TXA” menu

CLARION 11.1 my last version  
Regards

---

<div class="post-metadata">

**Author:** ![seanh](https://clarionhub.com/letter_avatar_proxy/v4/letter/s/4af34b/32.png) [@seanh](https://clarionhub.com/u/seanh)\
**Post date:** [August 2, 2023, 8:47am UTC](https://clarionhub.com/t/save-app-to-txa-automatically/6451/3 "2023-08-02T08:47:46Z")

</div>

Yes. There’s actually an option in the IDE that exports to assist with version control. I don’t have my dev stuff open atm so I can’t check the names. but it’s something like binary file support in the ide options.

Rick Martin also has a product that does more and is especially for version control systems like git

---

<div class="post-metadata">

**Author:** ![Mark\_Sarson](https://clarionhub.com/user_avatar/clarionhub.com/mark_sarson/32/6132_2.png) [@Mark\_Sarson](https://clarionhub.com/u/Mark_Sarson)\
**Post date:** [August 2, 2023, 11:52am UTC](https://clarionhub.com/t/save-app-to-txa-automatically/6451/4 "2023-08-02T11:52:57Z")

</div>

Hi,

Along with @seanh answer, and I thoroughly recommend @Rick_UpperPark tool for this.

There is also as part of @MarkGoldberg [clarion repository found here](https://github.com/MarkGoldberg/ClarionCommunity/tree/master) a template you can add to your application that will do this on generation. It also has the advantage of splitting the txa’s into modules, should you wish.

Note, Rick’s tool does this and a lot more.

For instance, It help’s in the re-import process into your current application is concerned. [I mentioned yesterday](https://clarionhub.com/t/proscan-to-pdf-compile-error/6449/6) in another thread that one of the issues when importing TXA’s is an issue if you have a global template added to your application that will add to all local procedure extensions. Re-importing will double up the local extensions, thus creating duplicate code. Rick’s tool does not have this issue.

Mark

---

<div class="post-metadata">

**Author:** ![Rick\_UpperPark](https://clarionhub.com/user_avatar/clarionhub.com/rick_upperpark/32/346_2.png) [@Rick\_UpperPark](https://clarionhub.com/u/Rick_UpperPark)\
**Post date:** [August 2, 2023, 2:04pm UTC](https://clarionhub.com/t/save-app-to-txa-automatically/6451/5 "2023-08-02T14:04:23Z")

</div>

Thanks for the recommendation, @Mark_Sarson

---

<div class="post-metadata">

**Author:** ![BILAZ](https://clarionhub.com/letter_avatar_proxy/v4/letter/b/ecd19e/32.png) [@BILAZ](https://clarionhub.com/u/BILAZ)\
**Post date:** [August 2, 2023, 2:22pm UTC](https://clarionhub.com/t/save-app-to-txa-automatically/6451/6 "2023-08-02T14:22:20Z")

</div>

Thank you @Mark_Sarson for your contribution, I have just made a successful test using the templates of markgoldberg(Gentxa and TxaExport)

Bilaz

---

<div class="post-metadata">

**Author:** ![CarlBarnes](https://clarionhub.com/user_avatar/clarionhub.com/carlbarnes/32/1859_2.png) [@CarlBarnes](https://clarionhub.com/u/CarlBarnes)\
**Post date:** [August 2, 2023, 3:18pm UTC](https://clarionhub.com/t/save-app-to-txa-automatically/6451/7 "2023-08-02T15:18:32Z")

</div>

As @seanh noted in the IDE Options you can setup Auto Export/Import:

 ![image](https://clarionhub-uploads.s3.eu-north-1.amazonaws.com/original/2X/8/85356ca055a39d2157b0436b3677f0f41d0c2253.png)

Or in C11 they added this:

> FEATURE: Adding a .dct.BinaryImport file into a directory will turn on automatic import/export for dct files. Similarly the existence of a .app.BinaryImport file will turn on import/export of app files. This file can be empty or contain multiple lines with each line being a file pattern to match files. If the file is empty, then all dct/app files will be imported/exported. Otherwise only files that match at least one of the file patterns will be imported/exported.

This Auto Export also saves the APP as a file with an “.APV” extension that is in TXA format. This does NOT just “also save a TXA”. The APV is the Primary Load file, so the IDE builds the APP from the APV. If there is no APV then it opens the APP.

I’m not sure if this is in the Help, it may be in the PDF docs. It was described in the Blog:

> **[Automated Import and Export of Applications and Dictionaries - Clarion](https://clarionsharp.com/blog/automated-import-and-export-of-applications-and-dictionaries/)**
>
> Clarion 7.1 added the ability to automatically import and export .App and .Dct files to/from their text representations.  This was primarily added for use with version control systems like Subversion, but developers may also find it useful for...

> **[Clarion 11 update released - Clarion](https://clarionsharp.com/blog/clarion-11-update-released/)**
>
> Today we are releasing an update for C11. It’s a fairly large update with close to 125 fixes/changes/new features! Here are a few items from the readme file: FEATURE: You can now trap calls to the transaction handling functions LOGOUT, COMMIT, and...

* * *

See Also this Topic

> [@Multi-Developer Clarion](https://clarionhub.com/t/multi-developer-clarion/4105/6):
>
> Your wish is granted. Under Options – Clarion – Auto Export/Import: you can set the IDE to also save APP as APV which is a TXA format, and DCT as DCV in DCTX format. The APV/DCV are the primary file so at load time the APP is ignored and built from the APV … or maybe it does a date compare and only makes the APP if it appears older than the APV. This means your APP cannot have TXA issues like a Square bracket in column 1 of embed code. One export / import TXA and compare CLWs will tell you. T…

If you search here on Hub for “APV” you’ll find more.
