Page 1 of 1

Copying Navigation Items

Posted: Wed Dec 26, 2018 6:55 pm
by dougmatthews47
Hello,
I need to copy Navigation items to different parent item.
I did not see a way to copy Navigation Items, only move them.
I have written a program to COPY navigation items from one parent item to other parent items.
Everything seems to copy, and display just fine except the Navigation Item does not seem to execute the macro assigned to it until I bring it up in the control panel and click update. (without making any changes)
I Update all the files I know of using the Atrium documentation for conventions...
ATNAVP
ATUIDSP
ATAUTHP
ATNVARSP . . There are Macros and parms assigned to the Nav. Items.

Is there a something I am missing that the update button in the control panel does?
I have compared the files before clicking the update button and after. I dont see any changes.
I hope I am explaining this clearly.

Any directions would be greatly appreciated.

Thanks

Re: Copying Navigation Items

Posted: Thu Dec 27, 2018 5:12 pm
by Scott Klement
The update button updates the following for a Genie Macro launcher:

ATNAVP:
- ANTEXT
- ANICON
- ANACTN
- ANGURL
- ANWINDOW
- ANONCE

ATVARSP:
- replaces all variables with the data submitted (deletes/re-creates the records)

I don't know why this would fix anything in the data you copied. I would suggest looking at the before/after records to see what changed.