Skip to main content

Posts

Showing posts with the label aot

Reflection and recursion on the AOT to compare projects.

So I use the base layer compare tool via Tools>Development tools>Version update>Compare layers to create a project of the "CUS" layer (normally the VAR layer for me).  This gets all of the objects modified in the CUS layer in one project.  Then I set that in the #layerCompareProject macro, then add my projects I want to check against in the lower lines of code. I've used this tool countless times to compare two projects.  Another use I had was during an upgrade to Roll Up 7 from Roll Up 1.  Somehow I had deleted a modification to an obscure table...this made me worried that I could have accidentally deleted other objects that I would have no idea about.  To check this, I went into Live and created a layer compare project of the CUS layer, then went into my upgraded RU7 environment and made the same layer compare project.  Then all I had to do was run the job and it output the objects that were missing. I think it's clever/fun the wa...

AOS crashed due corrupted node in the AOT

Warning: this post is only informative, do not try to replicate the problem described here in a production environment. !!!! The problem: The problem occurred when we created a 'View' with one circular reference. After that, every time we tried to click over "Data Dictionary\Tables" or "Data Dictionary\Views", the AOS crashes. How to reproduce the problem: Warning: this post is only informative, do not try to replicate the problem described here in a production environment. !!!! 0. Make a backup. Also, make a copy of the AxCus.AOD file. 1. Create a simple view (ex. View1). 2. Add a new DataSource manually. Then, open DataSource's properties dialog and specify in the table field the name of the view you have created (ex. View1). 3. STOP at this point if you dont want to crash the AOS !!!. 4. Expand the DataSource node. Drag the field CreatedBy to the view's fields. It will create the CreatedBy1 field. 5. Save it if you are sure you want to continue. A...