Runtime Deployment

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
ab042
Posts: 326
Joined: Mon Jul 17, 2006 4:11 am

Runtime Deployment

Post by ab042 »

Since the files are managed by AwareIM and we have no idea how they are managed. What if we deploy an app and need to upgrade it.

I'm assuming we can do whatever we want as long as we don't create or delete fields in the business objects.

The next question would be what if we need to add a field to one of the business objects. Does the field automatically when the client installs the new version of our runtime app and keep the existing data? Does the fields get added to the runtime product or does it require an export / import of the data?

We used to have an app that we created a MISC field at the end of each file that had a length of 100 at deployment time. Then if we need to add a field we would add it before the MISC field and then reduce the MISC field by its length. This kept the file length the same and kept us from having to export/import each update.

Suggestions?
aware_support2
Posts: 595
Joined: Sun Apr 24, 2005 2:22 am
Contact:

Post by aware_support2 »

> The next question would be what if we need to add a field to one of the business objects.
You can add as many new attributes to existing objects as you like. All databases used by Aware IM are capable of adding columns to existing tables without loss of existing data.

> Does the field automatically when the client installs the new version of our runtime app and keep the existing data?
Yes. When a new configuration is deployed the new attribute is added to all object instances. Existing data is preserved.

> Does the fields get added to the runtime product or does it require an export / import of the data?
The value of the new attribute will be empty for all existing object instances. You can fill it by running a process or specifying an initial value for the attribute in the configuration. In the latter case the attribute value will be set if/when an object instance is later updated. You can also set the value by importing data for the attribute.
Aware IM Support Team
Post Reply