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

Use this board to ask questions or have discussions with other Atrium users.
Post Reply
t.s.h
Profound User
Posts: 31
Joined: Fri Aug 06, 2010 5:18 am
First Name: Thorsten
Last Name: Haas
Company Name: GfK Entertainment
Phone: +49(0)7221/279 921
City: Baden-Baden
State / Province: Outside Canada/USA
Zip / Postal Code: 76530
Country: Germany
Location: Germany
Contact:

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

Post 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)
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

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

Post 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.
t.s.h
Profound User
Posts: 31
Joined: Fri Aug 06, 2010 5:18 am
First Name: Thorsten
Last Name: Haas
Company Name: GfK Entertainment
Phone: +49(0)7221/279 921
City: Baden-Baden
State / Province: Outside Canada/USA
Zip / Postal Code: 76530
Country: Germany
Location: Germany
Contact:

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

Post by t.s.h »

Perfect David,

that was what i am looking for!

Thanks
Thorsten
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

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

Post 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...
t.s.h
Profound User
Posts: 31
Joined: Fri Aug 06, 2010 5:18 am
First Name: Thorsten
Last Name: Haas
Company Name: GfK Entertainment
Phone: +49(0)7221/279 921
City: Baden-Baden
State / Province: Outside Canada/USA
Zip / Postal Code: 76530
Country: Germany
Location: Germany
Contact:

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

Post 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.
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

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

Post 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.
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

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

Post 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...
t.s.h
Profound User
Posts: 31
Joined: Fri Aug 06, 2010 5:18 am
First Name: Thorsten
Last Name: Haas
Company Name: GfK Entertainment
Phone: +49(0)7221/279 921
City: Baden-Baden
State / Province: Outside Canada/USA
Zip / Postal Code: 76530
Country: Germany
Location: Germany
Contact:

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

Post 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.
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

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

Post 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.
kfritz
Profound User
Posts: 64
Joined: Thu Aug 04, 2011 4:53 am
First Name: Karl
Last Name: Fritz
Company Name: Logic IT Services
Address 1: Fluhgasse 141
City: Laufenburg
Zip / Postal Code: 5080
Country: Switzerland
Location: Switzerland
Contact:

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

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest