Page 1 of 1

Is it possible to import an existing menu system in atrium?

Posted: Thu Oct 20, 2011 8:46 am
by t.s.h
We have our own menu system with a similar structure like the atrium menu system.
After a lit bit of investigation I think it must be possible to fill the Atrium AT* files from our existing system. The only problem I cant handle is the item number. I can't find where it is stored.
Is it possible to adjust the number by hand, after inserting the records to the needed tables?
Or is there an other way to import an existing menu structure?

We have about 800 program calls and 250 user entries in the current menu, a little bit to much to generate the menu by hand. ;o)

Re: Is it possible to import an existing menu system in atrium?

Posted: Thu Oct 20, 2011 10:10 am
by David
The number is just a unique id. It can be assigned any value, with the following restrictions:

1. The number must be unique not only among other user ids in this file, but also among group ids in the group records (field AGGROUP in ATGROUPSP).

2. User id or group id zero cannot be used -- this has special meaning in Atrium.

After programatically populating the file, set the record in ATUIDSP that has AUIFIELD = 'GRPUSRID' to be a number greater than your maximum user/group id. This value controls the next id that will be used when a user or group is added through the interface.

Re: Is it possible to import an existing menu system in atrium?

Posted: Thu Oct 20, 2011 10:15 am
by t.s.h
Perfect David,

that was what i am looking for!

Thanks
Thorsten

Re: Is it possible to import an existing menu system in atrium?

Posted: Thu Oct 20, 2011 10:42 am
by David
Also, when adding the users, it's important that all of them are assigned into valid groups. This is done by setting field AUGROUP to the AGGROUP value in ATGROUPSP.

Groups can be assigned into other groups by setting AGPARENT to the desired group id.

Any user or group id can have its own configuration settings in ATCONFIGP by specifying the unique user or group id there. If a user or group does not have its own record in ATCONFIGP, the settings are inherited from the parent group.

If there are no settings for any parent group in the chain, the global settings are used. These are specified by id zero in ATCONFIGP. This record must always be present...

Re: Is it possible to import an existing menu system in atrium?

Posted: Fri Oct 21, 2011 4:16 am
by t.s.h
works perfect :oD

One hint to this issue.
The use of double quote (") in ATNAVP/ANTEXT causes, that the item disappears from the menu navigation.

Re: Is it possible to import an existing menu system in atrium?

Posted: Mon Oct 24, 2011 7:57 am
by David
You should be able to use any characters you want in there. On my test system, the double quotes work just fine.

The issue is probably related to the German CCSID. We'll do some testing to see if we can recreate/fix it.

Re: Is it possible to import an existing menu system in atrium?

Posted: Fri Oct 28, 2011 10:06 am
by David
We were able to recreate the problem with the German CCSID. This is now correct in version 3.1.7.

You should be able to use any character you want in there now...

Re: Is it possible to import an existing menu system in atrium?

Posted: Wed Nov 02, 2011 5:48 am
by t.s.h
It works partial now, in Atrium, it seems to be okay, I see all menu items and can start them.
But if I go to the control panel -> navigation: The menu containing the menu item with the " chars isn't displayed. The only way to undo the changes is by sql.

Re: Is it possible to import an existing menu system in atrium?

Posted: Wed Nov 02, 2011 10:40 am
by David
Sorry -- this is the same issue as before, but in a different program. We've gone through and corrected the problem in all of the programs now for the next update to Profound UI.

Re: Is it possible to import an existing menu system in atrium?

Posted: Thu Nov 03, 2011 6:29 am
by kfritz
David,

Thank you for the hint of the stored counter. Few weeks ago, I created an automated process for conversion to atrium menus and ran promptly in troubles with double keys while adding a new menu item manually.

Karl