# AxUtil utility to build models

**URL:** <https://www.dynamicsuser.net/t/axutil-utility-to-build-models/27226>\
**Category:** Developer Forum\
**Created:** [October 6, 2010, 10:06am UTC](https://www.dynamicsuser.net/t/axutil-utility-to-build-models/27226 "2010-10-06T10:06:26Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![patelashlesh](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@patelashlesh](https://www.dynamicsuser.net/u/patelashlesh)\
**Post date:** [October 6, 2010, 10:06am UTC](https://www.dynamicsuser.net/t/axutil-utility-to-build-models/27226/1 "2010-10-06T10:06:26Z")

</div>

Hi,

anyone is aware about the AxUtil utility?

I found the reference of it from [axaptasource.com/…/](http://axaptasource.com/page/6/?s=msdn), but i didnt find it on my computer.

I wanted to deploy my code change to the AX Test machine(testing env.). so, i think working with Model concept mentioned on above link can help me.

Can anyone tell me the place to find this utility.

Thanks in advance.

Regards,

/Ashlesh

---

<div class="post-metadata">

**Author:** ![Harish](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@Harish](https://www.dynamicsuser.net/u/Harish)\
**Post date:** [October 6, 2010, 10:19am UTC](https://www.dynamicsuser.net/t/axutil-utility-to-build-models/27226/2 "2010-10-06T10:19:47Z")

</div>

Hi Ashlesh,

I believe the author in that blog is referring to functionalities introduced in Ax 6.0. This is not available in Ax 2009 yet; not sure whether it will be at all.

Best wishes,

---

<div class="post-metadata">

**Author:** ![patelashlesh](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@patelashlesh](https://www.dynamicsuser.net/u/patelashlesh)\
**Post date:** [October 6, 2010, 10:24am UTC](https://www.dynamicsuser.net/t/axutil-utility-to-build-models/27226/3 "2010-10-06T10:24:04Z")

</div>

Hi,

Thanks for the quick reply.

I completely agree with you comments.

Can you please suggest me some ways to deploy my code chagnes to our tese env. AX Client system as i mentioned in my original post.

Your help will greatly appreciated…

Regards,

/Ashlesh

---

<div class="post-metadata">

**Author:** ![Harish](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@Harish](https://www.dynamicsuser.net/u/Harish)\
**Post date:** [October 6, 2010, 10:47am UTC](https://www.dynamicsuser.net/t/axutil-utility-to-build-models/27226/4 "2010-10-06T10:47:26Z")

</div>

Hi Ashlesh,

There are two ways you can deploy code to other environments - either by XPO or as a layer (.aod) file. Additionally you also have to consider deploying labels (.ald), configuration data etc.

Usually I introduce whole governance rules including code deployment. For example code deployment is closely tied to other aspects of project like functional specifications, test cases, configuration data, deployment of non-Ax artifacts etc. Of course bottom line is whether customer wants to go to such depth.

Best wishes,

---

<div class="post-metadata">

**Author:** ![patelashlesh](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@patelashlesh](https://www.dynamicsuser.net/u/patelashlesh)\
**Post date:** [October 6, 2010, 10:53am UTC](https://www.dynamicsuser.net/t/axutil-utility-to-build-models/27226/5 "2010-10-06T10:53:56Z")

</div>

Hi,

You mean that i only required to replace my “Ax\< layer \>.aod” and AxSYS\< country \>.ald files with the environment on which i am required to upload my code changes?

Is this so?

Thanks,

/Ashlesh

---

<div class="post-metadata">

**Author:** ![Harish](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@Harish](https://www.dynamicsuser.net/u/Harish)\
**Post date:** [October 6, 2010, 11:05am UTC](https://www.dynamicsuser.net/t/axutil-utility-to-build-models/27226/6 "2010-10-06T11:05:07Z")

</div>

Hi Ashlesh,

**Code deployment**

Obviously deploying the AOD file will deploy complete codebase in that layer. For example deploying axvar.aod will deploy all code in VAR layer.

Alternatively by creating XPO, you choose which code you deploy.

**Label deployment**

Assuming base Ax in both environments are identical, you don’t need to deploy AxSYS\*.ald labels.

You just deploy **your** label file. For example I create label file called DUG. And I use en-gb language. So I will just deploy ‘axDUGen-gb.ald’ file.

Best wishes,

---

<div class="post-metadata">

**Author:** ![kranthi](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kranthi](https://www.dynamicsuser.net/u/kranthi)\
**Post date:** [October 6, 2010, 11:09am UTC](https://www.dynamicsuser.net/t/axutil-utility-to-build-models/27226/7 "2010-10-06T11:09:28Z")

</div>

The label file may not be Axsys.ald - Only the label files where your label are being stored.

after copying these files into the required environment - restart the ax service

---

<div class="post-metadata">

**Author:** ![patelashlesh](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@patelashlesh](https://www.dynamicsuser.net/u/patelashlesh)\
**Post date:** [October 6, 2010, 11:09am UTC](https://www.dynamicsuser.net/t/axutil-utility-to-build-models/27226/8 "2010-10-06T11:09:47Z")

</div>

Hi,

Thank you very much.

Regards,

/Ashlesh

---

<div class="post-metadata">

**Author:** ![Harish](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@Harish](https://www.dynamicsuser.net/u/Harish)\
**Post date:** [October 6, 2010, 11:16am UTC](https://www.dynamicsuser.net/t/axutil-utility-to-build-models/27226/9 "2010-10-06T11:16:39Z")

</div>

Hi Ashlesh,

After code and labels are deployed, I first backup index files (application object index - .aoi & label object index -.ali) and delete them. After this when we restart AOS, it will automatically rebuild the index files.

Best wishes,

---

<div class="post-metadata">

**Author:** ![patelashlesh](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@patelashlesh](https://www.dynamicsuser.net/u/patelashlesh)\
**Post date:** [October 6, 2010, 11:22am UTC](https://www.dynamicsuser.net/t/axutil-utility-to-build-models/27226/10 "2010-10-06T11:22:55Z")

</div>

Hi Harish,

Thanks for such a useful info. It will definately helpful to me.

Great.

Thanks,

/Ashlesh
