Exporting static data of ADOs with ac_dump_ado.pl
There is a very convenient script which does not come in the standard AC server package, but chances are the AC will have provided it to you (usually installed by one of their consultants).
There is a very convenient script which does not come in the standard AC server package, but chances are the AC will have provided it to you (usually installed by one of their consultants).
This article was updated on 25. June 2020 with some material showing how to test the behaviour of the Formula Engine function attribute with Adetta, our solution for testing Asset Control custom code.
Here, I want to talk about ado_browse, the Formula Engine function to search for ADOs.
In this article I want to discuss a pattern of combining ac_evalform and runparallel that can both simplify the implementation as well as allow increased performance by parallel processing.
There is a very useful script called runparallel which allows you to distribute input coming from STDIN to multiple parallel incarnations of a process.
In order to get the values of a few static attributes for a given set of ADOs on the command line or as part of a shell script you can use get_attributes.
Sometimes it is more straightforward to traverse a data structure if you would transpose it first, i.
To retrieve the contents of an ADO list from the command line or from within a shell script, you can use listado.
Formula Engine - like many other programming languages - offers a map function.
If you want to create sublists of lists in Formula Engine, you can use the function elt.
The Formula Engine function text_write allows you to write to text files.
If you are thinking of deleting a datafile attribute from Asset Control, here are a few things to consider: