AMI Center 4: Lifetime and Scope of Tables
This fourth tutorial in the series explores the concept of scope from AMI Script variables to database tables in AMI Center. We will start by exploring the scope of variables in AMI Script and how their scope differs compared to tables defined in the same Script. Sometimes we need to make use of the data in a table beyond a single AMI Script execution. We will look at both how to use the KEEP OUTPUT setting and storing objects in the user session. When we need to broaden the scope even further we can use tables stored in AMI DB located in AMI Center. This allows for data to be persisted across multiple runs of AMI and for data to be shared between multiple users. Finally we can store data in and retrieve data from an external data source. At this point the scope widens beyond and the lifetime is no longer directly managed by AMI.
-
Topics Covered
- AMI Script variable scope
- AMI Web table scope
- Keep Output
- Table scope in AMI DB
- Temporary vs Public tables
- Persisting AMI DB Tables
- Types of Persistence
- Scope of data in external datasources
-
Resources