The Now Platform® Washington DC release is live. Watch now!
‎09-06-2017 08:03 AM
I have been though several articles regarding the Header Menu cloning issues. Some of them reference a GitHub link for steps to overcome the issue, but the link does not work .
Can somebody please share the steps or a working link to clone a Header Menu.
Thanks so much.
‎09-06-2017 08:25 AM
‎09-06-2017 08:45 AM
Thanks for replying Arka. The issue is when you clone the instance, there are 2 Angular ng-templates that should get cloned along. And due to a bug or something they don't get cloned. Even if you copy the widgets, you get duplicate ID issues. Some people copied the ng-templates and have given them custom names. And then it seems that the next step is to declare/link the custom names/id with the widget in a Directive. This peace with the Directive is something I am trying to get information on. Or, if possible get the entire procedure to clone a header menu.
‎09-06-2017 01:26 PM
Ya..I have seen the issue. I have managed to change the name of the template "menuTemplate" everywhere in the code, but not sure where the template "spDropdownTreeTemplate" functionality resides.
Changing the menutemplate gives you all the menu items except the dropdown ones
‎02-23-2018 06:57 AM
Have a look at here if you're still trying to do this. The 4 steps in one of the replies under there has worked perfectly for me.